# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-i9003
pkgver=1
pkgrel=35
pkgdesc="Samsung Galaxy SL"
url="https://postmarketos.org"
arch="armv7"
license="MIT"
depends="postmarketos-base linux-samsung-i9003 libsamsung-ipc mkbootimg"
makedepends="devicepkg-dev"
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
}
sha512sums="
4e01cbc1dfd4b9cbb1ad2321c705c7ce4044b3a72ee94a3471292b544c55029b24c505f22ace8677f50061fc9f70e975b121656d9ec3b8990f46d147af0fe947  deviceinfo
079336f0a62fe45e839dcaa56479736fb67125ef5adf9bf73fc513c696d5a9fe14cfc9912f4aeb989476aa23bcd1befca25f0163c827691eea7eec1c7b97f303  90-android-touch-dev.rules
"