From d102e6e0f490f27a3d320f62f1d04e84b5facbc0 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 13 Jul 2018 14:00:51 +0000 Subject: testing/aports-ghpr: new aport --- testing/aports-ghpr/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/aports-ghpr/APKBUILD (limited to 'testing/aports-ghpr') 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 +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" -- cgit v1.2.3