pmaports/device/device-samsung-n5110/APKBUILD
Oliver Smith 9814d78e73
device-*: don't use noarch anymore
Use the device's architecture instead of noarch. Because the device
packages should never be built for other architectures, even if all
depends can be built for other arches as well.

This simplifies package building as part of the new build
infrastructure effort.

pmbootstrap has also been changed to output this by default in
aportgen.
2018-11-27 07:47:11 +01:00

39 lines
1.9 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-samsung-n5110"
pkgdesc="Samsung Galaxy Note 8.0 (Wi-Fi)"
pkgver=0.1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-n5110 mkbootimg mesa-dri-swrast"
makedepends="devicepkg-dev"
source="deviceinfo pointercal asound.state Kona_WM1811/hifi.conf Kona_WM1811/Kona_WM1811.conf Kona_WM1811/lp.conf 90-$pkgname.rules"
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir/pointercal" \
"$pkgdir/etc/pointercal"
install -D -m644 "$srcdir/asound.state" \
"$pkgdir/var/lib/alsa/asound.state"
install -D -m644 "$srcdir/Kona_WM1811.conf" \
"$pkgdir/usr/share/alsa/ucm/Kona_WM1811/Kona_WM1811.conf"
install -D -m644 "$srcdir/hifi.conf" \
"$pkgdir/usr/share/alsa/ucm/Kona_WM1811/hifi.conf"
install -D -m644 "$srcdir/lp.conf" \
"$pkgdir/usr/share/alsa/ucm/Kona_WM1811/lp.conf"
}
sha512sums="457de8ab902664951dd7127cfc82216346f392d74a61209d0992e69bb4cf043e42b74c0276927d622909c34183d0b24b1344e6865f40fa0f2fdb5457237872e9 deviceinfo
3143f3c2d884480531dffd970753e884048bae68533a05b457483b0fa2448d7c9150bb649d25056ebe8879675284148f431447644d265cc7440b35320523cd4e pointercal
dbbe2516c347708f72ef2e8fb6a110e6b18234c72f7173940a9a3727c6fd357b449df7c0a5ba223d2571b90249714d811307c3155b8d76974ecb1fe92c5abe98 asound.state
1edafcded27093f6d71b2459e92e59390dfbea50c866612f7b78943dd4b96057649b2ffa677956a2b160956c5d12e8eff76ace7ec91134bafba2b632b461c660 hifi.conf
f885a785caabd7e1d2ccf456a6ad4fa90bf01f76ba94c902a0d55268a8eddbad4b591db524a2359f1b676929d426e892db4597189e91fcd8df06bc54e3555b92 Kona_WM1811.conf
3e0afbb20975be711613a5787635cd4b2b58e2232387e4d6f6910a7b45467fefc57cb4160f00a52db73089fa9523560e1360b045242235eac1cdb6e6f813b06b lp.conf
1be171ab5d36aa6f75c740b7aabe62a78c6d2c1f016b706900f04e1f0e20bf25d090f32d029160c6d626e978a004732b9654dde336748ca47326b9a2e06e34b2 90-device-samsung-n5110.rules"