samsung-i747m: 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/7544>
This commit is contained in:
Aster Boese 2025-12-10 16:46:23 -05:00 committed by The Friendly Merge Bot
parent c792d2aab0
commit 511d5eb432
No known key found for this signature in database

View file

@ -2,7 +2,7 @@
pkgname=device-samsung-i747m
pkgdesc="Samsung Galaxy SIII (USA/Canada)"
pkgver=2
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="armhf"
@ -10,7 +10,10 @@ options="!check !archcheck"
depends="postmarketos-base linux-samsung-i747m mkbootimg"
makedepends="devicepkg-dev"
source="deviceinfo 90-android-touch-dev.rules fb.modes"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-udev
"
build() {
devicepkg_build $startdir $pkgname
@ -19,7 +22,7 @@ build() {
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$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
install -Dm644 "$srcdir"/fb.modes \
"$pkgdir"/etc/fb.modes
}