pmaports/device/device-samsung-i9100/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

34 lines
1.2 KiB
Text

pkgname=device-samsung-i9100
pkgver=1
pkgrel=21
pkgdesc="Samsung Galaxy SII"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-samsung-i9100 libsamsung-ipc mesa-dri-swrast"
makedepends=""
install="$pkgname.post-install"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="
deviceinfo
90-android-touch-dev.rules
$install
"
options="!check !archcheck"
package() {
install -D -m644 "$srcdir/deviceinfo" \
"$pkgdir/etc/deviceinfo"
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-samsung-i9100"
mkdir "$subpkgdir"
}
sha512sums="0f5d9a530635575b1d1ad93de535e2efedb27a4edd7562fb30d6b7dc75616a41d683d43b80e4eb9615ee3999f420fa2207732f5469a6748b02bbb8faa7c43775 deviceinfo
089635daddd88eec35451bfe98dc3713035e3623c896dd21305b990ecf422e8fbb54e010cf347919bbb3a7385f639ab119280477fe0783df3228168d97d96fc6 90-android-touch-dev.rules
03da52725e676bc7db371cbf4b60bff8689eca469dae96a02ca7d6c194ed9f8c4ec9d19d1ac9212eeba0b73384fd213e86f2b93da94f37e5abe4cc3339281205 device-samsung-i9100.post-install"