pmaports/device/testing/device-motorola-thea/APKBUILD

45 lines
1.3 KiB
Text
Raw Normal View History

2020-03-04 20:00:30 +00:00
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-motorola-thea
pkgver=2
pkgrel=2
2020-03-04 20:00:30 +00:00
pkgdesc="Motorola Moto G 2014"
url="https://postmarketos.org"
arch="armv7"
license="MIT"
depends="
postmarketos-base
postmarketos-base-downstream-disable-udev-v4l
linux-motorola-titan
mkbootimg
msm-fb-refresher
"
2020-03-04 20:00:30 +00:00
makedepends="devicepkg-dev"
install="$pkgname.post-install"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo 90-android-touch-dev.rules profile.sh"
2020-03-04 20:00:30 +00:00
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
install -Dm644 "$srcdir"/profile.sh \
"$pkgdir"/etc/profile.d/00-$pkgname.sh
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-motorola-titan"
mkdir "$subpkgdir"
}
sha512sums="
40ce29e9b4fa8617f31b7d89576b9786b5503745fe25f5efc72dd8f5e47219e37dff5495021addc096aed1462c8958bdff8666e9f9cf33ae67df961662a3a84f deviceinfo
2020-03-04 20:00:30 +00:00
8406968cd554393ea1e350967c80810d059de2b1d33ea1302e265780c1f0110d64cf15a68c2f374981a88906d0317315e0a71995c85fd5eaf93bb47ed427529c 90-android-touch-dev.rules
d04013c17caf77a87ebea167dbe48f7efa9c9d3123c5743d359f3ea8ccc6b268fa021535a4bf8291eb4a352f0c92f6eb527da0db340421f53bc1cc439a453306 profile.sh
"