# Maintainer: Natanael Copa pkgname=aports-ghpr pkgver=0.2 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 dep" source="http://dev.alpinelinux.org/archive/aports-ghpr/aports-ghpr-$pkgver.tar.xz add-toml-file.patch" builddir="$srcdir/src/github.com/aports-ghpr/$pkgname" options="!check" prepare() { mkdir -p ${builddir%/*} mv "$srcdir/$pkgname-$pkgver" "$builddir/" default_prepare } build() { cd "$builddir" export GOPATH="$srcdir" dep ensure -v make } package() { cd "$builddir" make DESTDIR="$pkgdir" prefix=/usr install } sha512sums="5358bcc0706020c90aa18e74a75534844ce44959455cf18ba61eae6307a7b2d0ded849aed3c9ca3115cd82182ca4f5125037c16ffcd5969d1b582735db1f216c aports-ghpr-0.2.tar.xz ce320bee6eb10f5b80a7dba7124d17437ac6b21a53bff29a7fd2022399312543322a5102a61f2c63b8fadc12c52ed517bf1289a0f97cdd18435db56bdfd75695 add-toml-file.patch"