# Reference: # Contributor: Oliver Smith pkgname=device-samsung-i9100 pkgver=1 pkgrel=25 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="3064288f7491047475c406f4455e649c885b56d5e231b1963db01ad8ba6069af716479b841ba679334be83a8783518f0de664ca1b91070e50e15b20bedb81b26 deviceinfo 089635daddd88eec35451bfe98dc3713035e3623c896dd21305b990ecf422e8fbb54e010cf347919bbb3a7385f639ab119280477fe0783df3228168d97d96fc6 90-android-touch-dev.rules"