blob: 471de1919dc1afcc2f793a0ac335117f0d46a6f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gapk
pkgver=0.1
pkgrel=1
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
}
md5sums="2f52a8474396b233a629457d93b771d5 gapk-0.1.tar.gz"
sha256sums="ab6f84cafb6c5ca32c03852408df6edc0179fdb5cdb62017b8f4ebe23ec9c91c gapk-0.1.tar.gz"
sha512sums="003c837288796a8e23d2296f352b855df9feadbe3b34c9f5704925882e7e25b242e3adf6088d8072459ac871ca5bfdd6fb8016e0357b1234d374b946fa808edf gapk-0.1.tar.gz"
|