device/device-motorola-titan: fix APKBUILD ()

This commit is contained in:
HenriDellal 2020-01-10 19:35:50 +03:00 committed by Bart Ribbers
parent 7491b245f4
commit 3430d3e782
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61

View file

@ -1,20 +1,25 @@
# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Pablo Castellano <pablo@anche.no>
pkgname=device-motorola-titan
pkgver=1
pkgrel=30
pkgrel=31
pkgdesc="Motorola Moto G 2014"
url="https://postmarketos.org"
arch="armhf"
license="MIT"
depends="postmarketos-base linux-motorola-titan mkbootimg msm-fb-refresher mesa-dri-swrast"
makedepends=""
makedepends="devicepkg-dev"
install="$pkgname.post-install"
subpackages="$pkgname-weston $pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo 90-android-touch-dev.rules profile.sh weston.ini"
options="!check !archcheck"
build() {
devicepkg_build $startdir $pkgname
}
package() {
install -Dm644 "$srcdir/deviceinfo" \
"$pkgdir/etc/deviceinfo"
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 \