aboutsummaryrefslogtreecommitdiffstats
path: root/community/gpaste
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-23 01:30:05 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-09-23 01:31:03 +0200
commitbdf9492d75f9807a021f81121ad03b91f8b2f66d (patch)
treebfdb391401eed71b4be733ad8c90934fb7944350 /community/gpaste
parent0134043faae91bceb240c2f9bc8f5ded0c654353 (diff)
downloadaports-bdf9492d75f9807a021f81121ad03b91f8b2f66d.tar.bz2
aports-bdf9492d75f9807a021f81121ad03b91f8b2f66d.tar.xz
community/gpaste: move from testing
Diffstat (limited to 'community/gpaste')
-rw-r--r--community/gpaste/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/gpaste/APKBUILD b/community/gpaste/APKBUILD
new file mode 100644
index 0000000000..ebd649b5d2
--- /dev/null
+++ b/community/gpaste/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gpaste
+pkgver=3.34.0
+pkgrel=0
+pkgdesc="Clipboard managment system"
+url="https://github.com/Keruspe/GPaste"
+arch="all !armhf !s390x !ppc64le" # limited by gnome-control-center
+license="BSD-2-Clause"
+makedepends="meson gtk+3.0-dev gnome-control-center-dev dbus-dev mutter-dev
+ gjs-dev appstream-glib-dev vala"
+subpackages="$pkgname-dev $pkgname-lang $pkgname-doc $pkgname-gnome:_gnome"
+source="gpaste-$pkgver.tar.gz::https://github.com/Keruspe/GPaste/archive/v$pkgver.tar.gz"
+builddir="$srcdir/GPaste-$pkgver"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dsystemd=false \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja -C output test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+_gnome() {
+ install_if="$pkgname=$pkgver-r$pkgrel gnome-shell gnome-control-center"
+ depends="gnome-control-center"
+ mkdir -p "$subpkgdir"/usr/share
+ mv "$pkgdir"/usr/share/gnome-shell \
+ "$pkgdir"/usr/share/gnome-control-center \
+ "$subpkgdir"/usr/share
+}
+
+sha512sums="3ed74409b134e85477013f917fa3c326460ab30ed070463de5f5194741667e1bf00358ecc7c24de26c794208400f22d00876e0db043c5122796900a0545c7491 gpaste-3.34.0.tar.gz"