diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-13 14:00:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-13 14:00:51 +0000 |
commit | d102e6e0f490f27a3d320f62f1d04e84b5facbc0 (patch) | |
tree | 9fdd17fb9eae8652ef266cfb3879f0ea13461a4d /testing/aports-ghpr | |
parent | dd8e0af2f5714a60d0800a33c79f8a69613a3e82 (diff) | |
download | aports-d102e6e0f490f27a3d320f62f1d04e84b5facbc0.tar.bz2 aports-d102e6e0f490f27a3d320f62f1d04e84b5facbc0.tar.xz |
testing/aports-ghpr: new aport
Diffstat (limited to 'testing/aports-ghpr')
-rw-r--r-- | testing/aports-ghpr/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/aports-ghpr/APKBUILD b/testing/aports-ghpr/APKBUILD new file mode 100644 index 0000000000..4e30824fec --- /dev/null +++ b/testing/aports-ghpr/APKBUILD @@ -0,0 +1,28 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=aports-ghpr +pkgver=0.1 +pkgrel=0 +pkgdesc="Search aport in github pull requests" +url="http://git.alpinelinux.org/cgit/user/ncopa/aports-ghpr" +arch="all" +license="ISC" +makedepends="go glide" +source="http://dev.alpinelinux.org/archive/aports-ghpr/aports-ghpr-$pkgver.tar.xz" +builddir="$srcdir/aports-ghpr-$pkgver" +options="!check" + +build() { + cd "$builddir" + export GOPATH="$srcdir" + + # I guess this is wrong way to get dependencies but i dont know how? + go get -v github.com/google/go-github/github + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" prefix=/usr install +} + +sha512sums="3351b2b18e88c064b63061c107e92a8d7c8c42bf0e265278b960af1ab3f848c584ced291b4f8e9845ad654d058345fc730751e161038dee0cea421cd117e2814 aports-ghpr-0.1.tar.xz" |