pmaports/device/device-samsung-i9100/APKBUILD
2018-12-26 21:49:10 +01:00

34 lines
1.2 KiB
Text

pkgname=device-samsung-i9100
pkgver=1
pkgrel=22
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="4194412a4ffb7d4dc2026157f63b2acde1d2aa3c68820c083f2fe8b2b0b0bd2b9fa7b15843c3203668b74923112a24d71664d7c5aa9730c2ab883b4338cfeabc deviceinfo
089635daddd88eec35451bfe98dc3713035e3623c896dd21305b990ecf422e8fbb54e010cf347919bbb3a7385f639ab119280477fe0783df3228168d97d96fc6 90-android-touch-dev.rules
03da52725e676bc7db371cbf4b60bff8689eca469dae96a02ca7d6c194ed9f8c4ec9d19d1ac9212eeba0b73384fd213e86f2b93da94f37e5abe4cc3339281205 device-samsung-i9100.post-install"