sony-suzuran: install udev configs under /usr/lib/ and split into $pkgname-udev subpackage

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7542>
This commit is contained in:
Aster Boese 2025-12-10 13:50:45 -05:00 committed by The Friendly Merge Bot
parent b476d9bef8
commit d71d9b5c2f
No known key found for this signature in database

View file

@ -2,7 +2,7 @@
pkgname=device-sony-suzuran
pkgdesc="Sony Xperia Z5 Compact"
pkgver=4
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -15,6 +15,7 @@ depends="
postmarketos-base-downstream
"
makedepends="devicepkg-dev"
subpackages="$pkgname-udev"
source="
deviceinfo
90-android-touch-dev.rules
@ -27,7 +28,7 @@ build() {
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
"$pkgdir"/usr/lib/udev/rules.d/90-android-touch-dev.rules
}
sha512sums="