diff options
author | C. Dominik Bódi | 2015-08-20 16:55:53 +0200 |
---|---|---|
committer | C. Dominik Bódi | 2015-08-20 16:55:53 +0200 |
commit | 89c653ec0774831c82cf4228b4ac6f816624311b (patch) | |
tree | a704fea2ba72770cf9091f2178da0253f0dae537 | |
parent | 76c6a92303429715ceacd4a85677f3501f11ccd9 (diff) | |
download | aur-89c653ec0774831c82cf4228b4ac6f816624311b.tar.gz |
* update to latest upstream snapshot in debian sid
* add git as explicit build dependency
* switch to debian's tarball as upstream source
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 16 insertions, 17 deletions
@@ -1,6 +1,6 @@ pkgbase = dh-make-golang pkgdesc = debianize go library packages - pkgver = 0.0git20150727.0.3f59ff12f2 + pkgver = 0.0git20150803.0.bd09cd9 pkgrel = 1 url = https://github.com/Debian/dh-make-golang arch = x86_64 @@ -9,10 +9,10 @@ pkgbase = dh-make-golang makedepends = go options = !strip options = !emptydirs - source = git+https://github.com/Debian/dh-make-golang.git#commit=3f59ff12f284fea0c66b81062a02f34cb0992061 - source = http://ftp.debian.org/debian/pool/main/d/dh-make-golang/dh-make-golang_0.0~git20150726.0.fc4210a-1.debian.tar.xz - sha256sums = SKIP - sha256sums = 048e1ea8219781b6ae37ce9373605e9b9ce7ad847e6f231f9b1198ebeca50440 + source = http://httpredir.debian.org/debian/pool/main/d/dh-make-golang/dh-make-golang_0.0~git20150803.0.bd09cd9.orig.tar.bz2 + source = http://httpredir.debian.org/debian/pool/main/d/dh-make-golang/dh-make-golang_0.0~git20150803.0.bd09cd9-1.debian.tar.xz + sha256sums = bfc00b8fcd5d6c8005ab4c5fdf7188e63304953c337345c6a48165ad203adf0a + sha256sums = b8e5b8bb4b2c77608f0399a19da94541325eea0ab78947b00a9e956c83414a15 pkgname = dh-make-golang @@ -1,35 +1,35 @@ # Maintainer: C. Dominik Bódi <dominik dot bodi at gmx dot de> pkgname=dh-make-golang -pkgver=0.0git20150727.0.3f59ff12f2 +_baseversion=0.0 +_debiangitsuffix=git20150803.0.bd09cd9 +_debianpkgrel=1 +pkgver=$_baseversion$_debiangitsuffix pkgrel=1 pkgdesc="debianize go library packages" arch=('x86_64' 'i686') url=https://github.com/Debian/dh-make-golang license=('BSD') -makedepends=('go') +makedepends=('go' + 'git') options=('!strip' '!emptydirs') -source=( - "git+https://github.com/Debian/dh-make-golang.git#commit=3f59ff12f284fea0c66b81062a02f34cb0992061" - "http://ftp.debian.org/debian/pool/main/d/dh-make-golang/dh-make-golang_0.0~git20150726.0.fc4210a-1.debian.tar.xz" - ) -sha256sums=('SKIP' - '048e1ea8219781b6ae37ce9373605e9b9ce7ad847e6f231f9b1198ebeca50440') +source=("http://httpredir.debian.org/debian/pool/main/d/dh-make-golang/dh-make-golang_$_baseversion~$_debiangitsuffix.orig.tar.bz2" + "http://httpredir.debian.org/debian/pool/main/d/dh-make-golang/dh-make-golang_$_baseversion~$_debiangitsuffix-$_debianpkgrel.debian.tar.xz") -prepare() { +sha256sums=('bfc00b8fcd5d6c8005ab4c5fdf7188e63304953c337345c6a48165ad203adf0a' + 'b8e5b8bb4b2c77608f0399a19da94541325eea0ab78947b00a9e956c83414a15') +prepare() { export GOPATH="$srcdir" go get github.com/russross/blackfriday go get golang.org/x/net/publicsuffix go get golang.org/x/tools/go/vcs - } build() { cd "$pkgname" GOPATH="$srcdir" go build - } package() { @@ -40,5 +40,4 @@ package() { cd "$srcdir/debian" install -Dm644 man/dh-make-golang.1 "$pkgdir/usr/share/man/man1/dh-make-golang.1" - } |