sony-ivy: 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:49:36 -05:00 committed by The Friendly Merge Bot
parent dea8d1ea71
commit b476d9bef8
No known key found for this signature in database

View file

@ -2,7 +2,7 @@
pkgname=device-sony-ivy
pkgdesc="Sony Xperia Z3+"
pkgver=2
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -15,6 +15,7 @@ source="
"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-udev
"
build() {
@ -24,7 +25,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
}
nonfree_firmware() {
pkgdesc="Wifi firmware"