36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-i9100
|
|
pkgver=1
|
|
pkgrel=28
|
|
pkgdesc="Samsung Galaxy SII"
|
|
url="https://postmarketos.org"
|
|
arch="armv7"
|
|
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="3c2cd098e0a66fbc3567b4e4d1055ee1894b7ee8670a86e0d298521a4d93a94c4c8c4e8253679d8fe0d18779d4c674dab6a189227261075ec9e46e3f9c20884e deviceinfo
|
|
089635daddd88eec35451bfe98dc3713035e3623c896dd21305b990ecf422e8fbb54e010cf347919bbb3a7385f639ab119280477fe0783df3228168d97d96fc6 90-android-touch-dev.rules"
|