pmaports/device/testing/device-samsung-i9100/APKBUILD
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

37 lines
1.1 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=device-samsung-i9100
pkgver=1
pkgrel=26
pkgdesc="Samsung Galaxy SII"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-samsung-i9100 libsamsung-ipc mesa-dri-swrast"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="
deviceinfo
90-android-touch-dev.rules
"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
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="254cb016e7a90da540214cb77b3801333f84c7fc488b30e32ffc477a0302b9685bd967d559fde11891cfe36d93a9ad0041a64dad6ad1080355f0a345b47c9ccc deviceinfo
089635daddd88eec35451bfe98dc3713035e3623c896dd21305b990ecf422e8fbb54e010cf347919bbb3a7385f639ab119280477fe0783df3228168d97d96fc6 90-android-touch-dev.rules"