# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Davide Gessa <gessadavide@gmail.com>
pkgname=device-samsung-i9003
pkgver=1
pkgrel=24
pkgdesc="Samsung Galaxy SI SLC"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-samsung-i9003 libsamsung-ipc mkbootimg mesa-dri-swrast"
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="1c5f783dbd0334bbfaf9d69f2642f179017a6919b1c83dca6911d6a13a68618d7c3a34a9d68f94985a5c67051a07ce263f7fe04023b446b1d5c2b6027001368b  deviceinfo
079336f0a62fe45e839dcaa56479736fb67125ef5adf9bf73fc513c696d5a9fe14cfc9912f4aeb989476aa23bcd1befca25f0163c827691eea7eec1c7b97f303  90-android-touch-dev.rules"
