2021-04-06 18:25:42 +00:00
|
|
|
# Maintainer: Martijn Braam <martijn@brixit.nl>
|
|
|
|
pkgname=postmarketos-tweaks
|
2021-12-29 11:46:20 +00:00
|
|
|
pkgver=0.9.0
|
2021-04-06 18:25:42 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Tweak tool for phone UIs"
|
|
|
|
url="https://gitlab.com/postmarketOS/postmarketos-tweaks"
|
|
|
|
arch="noarch"
|
|
|
|
license="GPL-3.0-or-later"
|
2021-04-28 23:52:34 +00:00
|
|
|
subpackages="$pkgname-phosh:phosh $pkgname-pinephone:pinephone"
|
2021-04-06 18:25:42 +00:00
|
|
|
depends="python3 py3-gobject3 py3-yaml gtk+3.0 libhandy1"
|
|
|
|
makedepends="py3-setuptools glib-dev libhandy1-dev meson"
|
2021-04-28 23:52:34 +00:00
|
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
2021-04-06 18:25:42 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2021-04-28 23:52:34 +00:00
|
|
|
pinephone() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel device-pine64-pinephone"
|
|
|
|
|
|
|
|
amove usr/share/postmarketos-tweaks/pinephone.yml
|
|
|
|
}
|
|
|
|
|
2021-07-30 15:16:40 +00:00
|
|
|
sha512sums="
|
2021-12-29 11:46:20 +00:00
|
|
|
95a935a7e2d380833738ebef43e8bfa1a39a05006a7bfbe65953739536e627364b7a32ffc8e28defb53f85d5a43e21260a679b1c9f1082f4338409e36fb8ed2d postmarketos-tweaks-0.9.0.tar.gz
|
2021-07-30 15:16:40 +00:00
|
|
|
"
|