2017-12-06 23:02:08 +00:00
|
|
|
pkgname="device-samsung-i9505"
|
2017-12-07 23:11:26 +00:00
|
|
|
pkgdesc="Samsung Galaxy S4 International"
|
2017-12-11 19:54:20 +00:00
|
|
|
pkgver=0.4
|
2018-03-07 22:35:02 +00:00
|
|
|
pkgrel=5
|
2017-12-06 23:02:08 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="noarch"
|
|
|
|
options="!check"
|
2018-02-26 22:11:44 +00:00
|
|
|
depends="postmarketos-base linux-samsung-i9505 mkbootimg mesa-dri-swrast"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2017-12-07 23:11:26 +00:00
|
|
|
source="deviceinfo 90-android-sec_touchscreen.rules"
|
2017-12-06 23:02:08 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm644 "$srcdir"/deviceinfo \
|
|
|
|
"$pkgdir"/etc/deviceinfo
|
2017-12-07 23:11:26 +00:00
|
|
|
install -D -m644 "$srcdir"/90-android-sec_touchscreen.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/90-android-sec_touchscreen.rules
|
2018-02-26 22:11:44 +00:00
|
|
|
}
|
2017-12-07 23:11:26 +00:00
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-samsung-i9505"
|
|
|
|
mkdir "$subpkgdir"
|
2017-12-06 23:02:08 +00:00
|
|
|
}
|
|
|
|
|
2018-03-07 22:35:02 +00:00
|
|
|
sha512sums="1045a64b14ba22b9dafe8c31caf4ae5cd72f55ad26cdf4cf3d986062fecf5728e13e7dacccf47cdcadfe83c50f478d7df5425ad6610b12c035b5ebdf5a5a356e deviceinfo
|
2017-12-07 23:11:26 +00:00
|
|
|
9dd220de9aa0ee4106686d43a4bac858c7b57ca8537488a54176ef13615195dab7945ca3f6896368186e99c7ed78748a2ad25458efe586dbc337190143d5184f 90-android-sec_touchscreen.rules"
|