pmaports/device/device-motorola-peregrine/APKBUILD

42 lines
1.2 KiB
Text
Raw Normal View History

2018-02-26 20:26:47 +00:00
# Reference: <https://postmarketos.org/devicepkg>
# Contributor: pikpok <pikpok@riseup.net>
2018-02-26 20:26:47 +00:00
pkgname="device-motorola-peregrine"
pkgdesc="Moto G 4G (2013)"
pkgver=0.1
pkgrel=8
2018-02-26 20:26:47 +00:00
url="https://postmarketos.org"
license="MIT"
arch="armhf"
options="!check !archcheck"
depends="postmarketos-base linux-motorola-peregrine mkbootimg mesa-dri-swrast msm-fb-refresher"
2018-02-26 20:26:47 +00:00
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware device-motorola-peregrine-x11"
source="deviceinfo xorg.conf"
2018-02-26 20:26:47 +00:00
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
x11() {
install_if="$pkgname xorg-server"
depends="
libinput
xf86-input-libinput
xf86-video-fbdev"
install -Dm644 "$srcdir"/xorg.conf \
"$subpkgdir"/etc/X11/xorg.conf.d/10-peregrine.conf
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-motorola-titan"
mkdir "$subpkgdir"
}
sha512sums="b74adfa28e391b49b66fecb99d9c3c9b170e69542d6a449a8133564e87f7ce5426a4880b216daf113bad0d1072c3a5165b540096ce945d177487c1a2b57f178b deviceinfo
f86ef35730b89bcc8160c08db7a7fcd0970adf60c0b77af68bac397de49c0d1783e6b8db1762380c9bf874aff2d030c6f44ecb75c803d69e79ede11376409369 xorg.conf"