pmaports/main/postmarketos-tweaks/APKBUILD
Newbyte e8eb332fa2
main/postmarketos-tweaks: upgrade to 0.13.1 (MR 4100)
[ci:skip-build]: already built successfully in CI
2023-05-19 16:07:31 +02:00

45 lines
1.3 KiB
Text

# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=postmarketos-tweaks
pkgver=0.13.1
pkgrel=0
pkgdesc="Tweak tool for phone UIs"
url="https://gitlab.com/postmarketOS/postmarketos-tweaks"
arch="noarch"
license="GPL-3.0-or-later"
subpackages="$pkgname-phosh:phosh $pkgname-pinephone:pinephone $pkgname-sxmo-x11:sxmo"
depends="python3 py3-gobject3 py3-yaml gtk+3.0 libhandy1"
makedepends="py3-setuptools glib-dev libhandy1-dev meson"
install="$pkgname.post-install $pkgname.post-upgrade"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/postmarketOS/postmarketos-tweaks/-/archive/$pkgver/postmarketos-tweaks-$pkgver.tar.gz"
options="!check" # There's no testsuite
build() {
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
phosh() {
install_if="$pkgname=$pkgver-r$pkgrel phosh"
amove usr/share/postmarketos-tweaks/phosh.yml
}
pinephone() {
install_if="$pkgname=$pkgver-r$pkgrel device-pine64-pinephone"
amove usr/share/postmarketos-tweaks/pinephone.yml
}
sxmo() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-sxmo-de-dwm"
amove usr/share/postmarketos-tweaks/sxmo-x11.yml
}
sha512sums="
eacfe552bc1a6719b93718c4cc47de56c49c3d975cc2b2b14cfdabac9c6d3f63561e28b5e8e8fcff1906da2a74f004353d7844ac6d6daaafc5c488cc167d4c84 postmarketos-tweaks-0.13.1.tar.gz
"