# Reference: pkgname=device-samsung-i9305 pkgver=1 pkgrel=26 pkgdesc="Samsung Galaxy SIII LTE" url="https://postmarketos.org" arch="armhf" license="MIT" depends="postmarketos-base linux-samsung-i9305 mkbootimg 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-i9305" mkdir "$subpkgdir" } sha512sums="67763e348fa209f4891e00cb2ada26edc20132f56851e54e1ee05b6408abf5398ef9c661bc4d2fd3e5f3df1e84ad687cfb218d59c000f8ec612c2aa446a3336c deviceinfo d70a03210458c771f94db920a8d3162a03fc7727f0fbafef4c1575ebc659c937c082f5c7a4dcdd1572925b973d628c6f4cf895c3b8b2a59af8142824468fe7c4 90-android-touch-dev.rules"