diff options
author | Pierce Lopez | 2016-03-23 02:09:22 -0400 |
---|---|---|
committer | Pierce Lopez | 2016-03-23 02:09:22 -0400 |
commit | ce40431167d972e148225e17fe170cf27b618faf (patch) | |
tree | 8e61bdde056aaf9fd7e3d9ac3227345453a647fc | |
parent | 8c8b2b2ea19ba0201ef08fb0194aba8ccedfa6fd (diff) | |
download | aur-ce40431167d972e148225e17fe170cf27b618faf.tar.gz |
bump to 1.4.0 release - no longer build latest git
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 14 insertions, 30 deletions
@@ -1,14 +1,13 @@ pkgbase = go-gpm pkgdesc = Barebones dependency manager for Go. - pkgver = 1.3.2.r10.g7db809e - pkgrel = 1 + pkgver = 1.4.0 + pkgrel = 2 url = https://github.com/pote/gpm arch = any license = MIT - makedepends = git depends = go - source = go-gpm::git+https://github.com/pote/gpm.git - md5sums = SKIP + source = gpm-1.4.0.tar.gz::https://github.com/pote/gpm/archive/v1.4.0.tar.gz + sha256sums = 2e213abbb1a12ecb895c3f02b74077d3440b7ae3221b4b524659c2ea9065b02a pkgname = go-gpm @@ -1,39 +1,24 @@ -# Maintainer: philanecros <philanecros@gmail.com> +# Maintainer: Pierce Lopez <pierce.lopez@gmail.com> pkgname=go-gpm -pkgver=1.3.2.r10.g7db809e -pkgrel=1 +pkgver=1.4.0 +pkgrel=2 pkgdesc="Barebones dependency manager for Go." arch=("any") url="https://github.com/pote/gpm" license=('MIT') -groups=() depends=("go") -makedepends=('git') -provides=() -conflicts=() -replaces=() -backup=() -options=() -install= -source=("$pkgname::git+https://github.com/pote/gpm.git") -md5sums=('SKIP') -noextract=() - -pkgver() { - cd "$pkgname" - # cutting off 'v' prefix that presents in the git tag - git describe --tags --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' -} +source=("gpm-${pkgver}.tar.gz::https://github.com/pote/gpm/archive/v${pkgver}.tar.gz") +sha256sums=('2e213abbb1a12ecb895c3f02b74077d3440b7ae3221b4b524659c2ea9065b02a') build() { - cd "$srcdir/${pkgname}" - ./configure --prefix=/usr + cd gpm-$pkgver + # avoid conflict with existing core/gpm package + ./configure --prefix=/usr --exec=go-gpm make } package() { - cd "$srcdir/${pkgname}" - # avoid conflict with existing core/gpm package - make DESTDIR="$pkgdir/" exec="go-gpm" install + cd gpm-$pkgver + make DESTDIR="$pkgdir" install } |