# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-gts210vewifi
pkgdesc="Galaxy Tab S2 9.7 WiFi (SM-T813)"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-gts210vewifi mkbootimg mdss-fb-init-hack"
makedepends="devicepkg-dev"
source="deviceinfo 90-sec_touchscreen.rules"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
	install -D -m644 "$srcdir"/90-sec_touchscreen.rules \
		"$pkgdir"/etc/udev/rules.d/90-sec_touchscreen.rules

}

sha512sums="
fb4e1a6b3df0a505aa6cd781948da261fb68f5015aac08e74ef8ba7d6da8494ce9556e86e0767f3fdf0773eaf62c68003d5c4ef7e0edf5ebc62d295b86ba2cf7  deviceinfo
0d23fae6de9b04a36f395068278b8a9054c33e435b24de943da1e55a0ee2d88ee932a3fd2f660596377b14474483edecb8357684f9b7bc2c53979c7f863fae52  90-sec_touchscreen.rules
"
