pmaports/device/testing/device-google-veyron-minnie/APKBUILD

64 lines
1.8 KiB
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Nicholas Frillman <nicholas.frillman@gmail.com>
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-veyron-minnie
pkgdesc="ASUS Chromebook Flip C100"
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
alsa-ucm-conf>=1.2.7.1-r0
depthcharge-tools
linux-google-veyron
postmarketos-base
postmarketos-update-depthcharge-kernel
"
subpackages="
$pkgname-i3wm
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-phosh
"
makedepends="devicepkg-dev"
source="
deviceinfo
i3wm/xorg.conf.d/90-tap-to-click.conf
phoc.ini
pointercal
"
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/pointercal \
"$pkgdir"/etc/pointercal
}
# The only way to right click on this device
i3wm() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-i3wm"
install -Dm644 "$srcdir"/90-tap-to-click.conf \
"$subpkgdir"/etc/X11/xorg.conf.d/90-tap-to-click.conf
}
nonfree_firmware() {
pkgdesc="WiFi/BT firmware"
depends="firmware-google-veyron-brcm"
mkdir "$subpkgdir"
}
phosh() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-phosh"
install -Dm644 "$srcdir"/phoc.ini \
"$subpkgdir"/etc/phosh/phoc.ini
}
sha512sums="
150b9cb7c5fad3542c7786c540c9aaa325f73081828e7021d2067accaa056fc7ba69cdb4f675f18f0ee9ea850109612664809148a95655022f7bd149267c1a10 deviceinfo
e53ca475830930ecfc1fd537702e850e2abcb66fbed521cb6c3a2918d762649254bd0244ec93a47b20dfc593ec3afc9bdebdec1759a7bc96dcbe4800f40893da 90-tap-to-click.conf
bd63cfc97d37e81dd9559dad60f330c10dc280afd20081495c6302960fcacf32954e3edab53294fcd5278e86c53c47a95b345a8d9e18807d88fe4313d519d259 phoc.ini
754eb3c09aadf552aaea3ade7cddf737769f800ddeafbf0665b61141397a58bea4595652ec3d7d1803863257cd163114a330f040a3f2352051b2215f7efa46a6 pointercal
"