samsung-gts210velte: 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:35:17 -05:00 committed by The Friendly Merge Bot
parent dc2866710c
commit 93871401cd
No known key found for this signature in database

View file

@ -2,13 +2,14 @@
pkgname=device-samsung-gts210velte
pkgdesc="Samsung Galaxy Tab S2 9.7 LTE (SM-T819)"
pkgver=4
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-gts210velte mkbootimg mdss-fb-init-hack"
makedepends="devicepkg-dev"
subpackages="$pkgname-udev"
source="deviceinfo 90-sec_touchscreen.rules"
build() {
@ -18,7 +19,7 @@ build() {
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/90-sec_touchscreen.rules \
"$pkgdir"/etc/udev/rules.d/90-sec_touchscreen.rules
"$pkgdir"/usr/lib/udev/rules.d/90-sec_touchscreen.rules
}