2017-08-25 15:47:32 +00:00
|
|
|
pkgname=device-huawei-y530
|
|
|
|
pkgver=1
|
2018-03-07 22:35:02 +00:00
|
|
|
pkgrel=10
|
2017-08-25 15:47:32 +00:00
|
|
|
pkgdesc="Huawei Ascend Y530"
|
|
|
|
url="https://github.com/postmarketOS"
|
|
|
|
arch="noarch"
|
|
|
|
license="MIT"
|
2018-02-26 22:11:44 +00:00
|
|
|
depends="postmarketos-base linux-huawei-y530 mkbootimg mesa-dri-swrast"
|
2017-08-25 15:47:32 +00:00
|
|
|
makedepends=""
|
|
|
|
install=""
|
2018-02-26 22:11:44 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2017-09-10 11:35:20 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
90-touchscreen-dev.rules
|
|
|
|
"
|
2017-08-25 15:47:32 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -D -m644 "$srcdir"/deviceinfo \
|
|
|
|
"$pkgdir"/etc/deviceinfo
|
2017-09-10 11:35:20 +00:00
|
|
|
install -D -m644 "$srcdir"/90-touchscreen-dev.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/90-touchscreen-dev.rules
|
2017-08-25 15:47:32 +00:00
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-huawei-y530"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2018-03-07 22:35:02 +00:00
|
|
|
sha512sums="cbe2c1d166f202923462ffe254d16d335eb0c7d16bd2c2aabb3aa8947278ce276bbe440aa03fc5098f28fb029750c5869ef280b514e36268ef2b8c0b5022fa78 deviceinfo
|
2017-10-17 20:38:47 +00:00
|
|
|
b2ebcd94e54b474d5a0d03f25af0d152583cddbb8ae8a70b72d65e96c9114a11fd535ffc964b23a0852fd541198c940fe6e867dafb6e6a8a12cb6fa5d1538d45 90-touchscreen-dev.rules"
|