summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPierce Lopez2016-03-23 02:09:22 -0400
committerPierce Lopez2016-03-23 02:09:22 -0400
commitce40431167d972e148225e17fe170cf27b618faf (patch)
tree8e61bdde056aaf9fd7e3d9ac3227345453a647fc /PKGBUILD
parent8c8b2b2ea19ba0201ef08fb0194aba8ccedfa6fd (diff)
downloadaur-go-gpm.tar.gz
bump to 1.4.0 release - no longer build latest git
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 10 insertions, 25 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c8121b14954..2eeaaa22639 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}