diff options
-rw-r--r-- | testing/go-conf/APKBUILD | 35 |
1 files changed, 13 insertions, 22 deletions
diff --git a/testing/go-conf/APKBUILD b/testing/go-conf/APKBUILD index fd06a6f539..827b8c17f2 100644 --- a/testing/go-conf/APKBUILD +++ b/testing/go-conf/APKBUILD @@ -1,46 +1,37 @@ -# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Maintainer: +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=go-conf -_realname=goconf +_pkgname=goconf _vendor=dlintw pkgver=0_git20170102 pkgrel=1 pkgdesc="goconf package - fork from http://code.google.com/p/goconf/" -url="https://github.com/$_vendor/$_realname" +url="https://github.com/$_vendor/$_pkgname" arch="noarch" -license="Custom" -depends= -depends_dev= -makedepends="$depends_dev" -install= +license="BSD-3-Clause" subpackages="$pkgname-doc" -source="http://dev.alpinelinux.org/archive/$_realname/$_realname-$pkgver.tar.gz" -builddir="$srcdir"/$_realname-$pkgver - -giturl="https://github.com/dlintw/$_realname.git" -disturl="larena@dev.alpinelinux.org:/archive/$_realname/$_realname-$pkgver.tar.gz" - -prepare() { - cd "$builddir" -} +options="!check" +source="http://dev.alpinelinux.org/archive/$_pkgname/$_pkgname-$pkgver.tar.gz" +giturl="https://github.com/dlintw/$_pkgname.git" +disturl="larena@dev.alpinelinux.org:/archive/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$builddir" + return 0 } package() { cd "$builddir" mkdir -p "$pkgdir"/usr/share/doc/$_vendor/$pkgname \ - "$pkgdir"/usr/lib/go/src/vendor/github.com/$_vendor/$_realname + "$pkgdir"/usr/lib/go/src/vendor/github.com/$_vendor/$_pkgname for file in \ LICENSE \ - README.md \ + README.* \ COPYRIGHT \ AUTHORS \ ; do \ test -e $file && mv $file "$pkgdir"/usr/share/doc/$_vendor/$pkgname done - mv * "$pkgdir"/usr/lib/go/src/vendor/github.com/$_vendor/$_realname || return 1 + mv *.go "$pkgdir"/usr/lib/go/src/vendor/github.com/$_vendor/$_pkgname } md5sums="9209a3e0b10675898c3228348e6caa3d goconf-0_git20170102.tar.gz" |