2018-08-22 22:34:11 +00:00
|
|
|
pkgname="device-samsung-jflte"
|
|
|
|
pkgdesc="Samsung Galaxy S4"
|
|
|
|
pkgver=0.5
|
|
|
|
pkgrel=0
|
2017-12-06 23:02:08 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="noarch"
|
|
|
|
options="!check"
|
2018-08-22 22:34:11 +00:00
|
|
|
depends="postmarketos-base linux-samsung-jflte mkbootimg mesa-dri-swrast"
|
2018-02-26 22:11:44 +00:00
|
|
|
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"
|
2018-08-22 22:34:11 +00:00
|
|
|
depends="firmware-samsung-jflte"
|
2018-02-26 22:11:44 +00:00
|
|
|
mkdir "$subpkgdir"
|
2017-12-06 23:02:08 +00:00
|
|
|
}
|
|
|
|
|
2018-08-22 22:34:11 +00:00
|
|
|
sha512sums="2ccb9da9d69f30e62d69ecb89939da5ddd25625b9e8ecdd9a41fa7bc5dfbdda415043b2b6e98587936740300cdb17ada1e2255ce39e54b0281e8ea48739b4332 deviceinfo
|
2017-12-07 23:11:26 +00:00
|
|
|
9dd220de9aa0ee4106686d43a4bac858c7b57ca8537488a54176ef13615195dab7945ca3f6896368186e99c7ed78748a2ad25458efe586dbc337190143d5184f 90-android-sec_touchscreen.rules"
|