aboutsummaryrefslogtreecommitdiffstats
path: root/main/gapk
diff options
context:
space:
mode:
Diffstat (limited to 'main/gapk')
-rw-r--r--main/gapk/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/gapk/APKBUILD b/main/gapk/APKBUILD
new file mode 100644
index 0000000000..4a0e206e3a
--- /dev/null
+++ b/main/gapk/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gapk
+pkgver=0.1
+pkgrel=0
+pkgdesc="simple GTK frontend for apk-tools"
+url="https://github.com/ncopa/gapk"
+arch="all"
+license="GPLv2"
+depends="apk-tools"
+depends_dev=""
+makedepends="$depends_dev gtk+3.0-dev"
+install=""
+subpackages=""
+source="gapk-$pkgver.tar.gz::https://github.com/ncopa/gapk/archive/v$pkgver.tar.gz"
+
+_builddir="$srcdir"/gapk-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="2f52a8474396b233a629457d93b771d5 gapk-0.1.tar.gz"
+sha256sums="ab6f84cafb6c5ca32c03852408df6edc0179fdb5cdb62017b8f4ebe23ec9c91c gapk-0.1.tar.gz"
+sha512sums="003c837288796a8e23d2296f352b855df9feadbe3b34c9f5704925882e7e25b242e3adf6088d8072459ac871ca5bfdd6fb8016e0357b1234d374b946fa808edf gapk-0.1.tar.gz"