diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-03 11:09:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-03 11:09:51 +0000 |
commit | 1856b7701a59b8d1a774c011eed84bac8e31a2c7 (patch) | |
tree | 8ac8f958f094cb6b7177b948f431a67de4b03e26 /testing | |
parent | 50512a6eec19677f4e973525b994f77adde6d1ea (diff) | |
download | aports-1856b7701a59b8d1a774c011eed84bac8e31a2c7.tar.bz2 aports-1856b7701a59b8d1a774c011eed84bac8e31a2c7.tar.xz |
testing/gapk: new aport
simple GTK frontend for apk-tools
https://github.com/ncopa/gapk
Diffstat (limited to 'testing')
-rw-r--r-- | testing/gapk/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/gapk/APKBUILD b/testing/gapk/APKBUILD new file mode 100644 index 0000000000..4a0e206e3a --- /dev/null +++ b/testing/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" |