summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/zenity/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/zenity/APKBUILD b/user/zenity/APKBUILD
new file mode 100644
index 000000000..234508b94
--- /dev/null
+++ b/user/zenity/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=zenity
+pkgver=3.32.0
+pkgrel=0
+pkgdesc="GTK-based dialog utility"
+url="https://gnome.org"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="gtk+3.0-dev itstool libxml2-utils"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/zenity/${pkgver%.*}/zenity-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d057df25dbb2d780c6be184ec167b0f569eadf0ac1c460d63509843157f14dfdcebe46bb6f93b17c6069ef0208902ce9ecbb4025933f7dc7572323032ec34fda zenity-3.32.0.tar.xz"