device/device-purism-librem5dev: fix APKBUILD (!874)

This commit is contained in:
HenriDellal 2020-01-10 19:43:29 +03:00 committed by Bart Ribbers
parent 414dd9d74e
commit 3ca414a4ce
No known key found for this signature in database
GPG Key ID: 699D16185DAFAE61

View File

@ -1,8 +1,9 @@
# Reference: <https://postmarketos.org/devicepkg> # Reference: <https://postmarketos.org/devicepkg>
# Contributor: Clayton Craft <clayton@craftyguy.net>
pkgname="device-purism-librem5dev" pkgname="device-purism-librem5dev"
pkgdesc="Purism Librem 5 Devkit" pkgdesc="Purism Librem 5 Devkit"
pkgver=0.8 pkgver=0.8
pkgrel=2 pkgrel=3
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"
@ -29,21 +30,21 @@ subpackages="$pkgname-plasma"
install="$pkgname.post-install" install="$pkgname.post-install"
build() { build() {
mkimage -A arm64 -O linux -T script -C none -a 0 -e 0 -n postmarketos -d "$srcdir/uboot-script.cmd" "$srcdir/boot.scr" mkimage -A arm64 -O linux -T script -C none -a 0 -e 0 -n postmarketos -d "$srcdir"/uboot-script.cmd "$srcdir"/boot.scr
devicepkg_build $startdir $pkgname devicepkg_build $startdir $pkgname
} }
plasma() { plasma() {
install_if="$pkgname kwin" install_if="$pkgname kwin"
install -D -m644 "$srcdir/00-kwin.sh" "$subpkgdir/etc/profile.d/00-kwin.sh" install -D -m644 "$srcdir"/00-kwin.sh "$subpkgdir"/etc/profile.d/00-kwin.sh
} }
package() { package() {
install -D -m644 "$srcdir"/boot.scr \ install -D -m644 "$srcdir"/boot.scr \
"$pkgdir"/boot/boot.scr "$pkgdir"/boot/boot.scr
install -D -m644 "$srcdir/modprobe.d_rsi.conf" "$pkgdir/etc/modprobe.d/rsi.conf" install -D -m644 "$srcdir"/modprobe.d_rsi.conf "$pkgdir"/etc/modprobe.d/rsi.conf
install -D -m644 "$srcdir/00-mesa.sh" "$pkgdir/etc/profile.d/00-mesa.sh" install -D -m644 "$srcdir"/00-mesa.sh "$pkgdir"/etc/profile.d/00-mesa.sh
install -D -m644 "$srcdir/flash_script.lst" "$pkgdir/usr/share/uuu/flash_script.lst" install -D -m644 "$srcdir"/flash_script.lst "$pkgdir"/usr/share/uuu/flash_script.lst
devicepkg_package $startdir $pkgname devicepkg_package $startdir $pkgname
} }