diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-03 11:12:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-03 11:12:36 +0000 |
commit | 3ef441cebc8e665ad48b32522febfd2b9d0c6a71 (patch) | |
tree | a4aa008d75bdbe9970c3ecd3badce3cca94a9924 /main/gapk | |
parent | 1856b7701a59b8d1a774c011eed84bac8e31a2c7 (diff) | |
download | aports-3ef441cebc8e665ad48b32522febfd2b9d0c6a71.tar.bz2 aports-3ef441cebc8e665ad48b32522febfd2b9d0c6a71.tar.xz |
main/gapk: moved from testing
Diffstat (limited to 'main/gapk')
-rw-r--r-- | main/gapk/APKBUILD | 40 |
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" |