summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-05-16 10:20:04 +0200
committerneodarz <neodarz@neodarz.net>2018-05-16 10:20:04 +0200
commitf697ce6060bdc3a77a64038a53d78653eda7d5b2 (patch)
tree160e22990fbd21fc9a6e5a2cf4ebb14c1442b13d
parente5293b98cbd3b13faef730afb218c970e33b69a7 (diff)
downloadgrv-f697ce6060bdc3a77a64038a53d78653eda7d5b2.tar.xz
grv-f697ce6060bdc3a77a64038a53d78653eda7d5b2.zip
Add last binary version
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD26
2 files changed, 7 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1393cb5..f987add 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,18 @@
pkgbase = grv
pkgdesc = terminal interface for viewing git repositories
- pkgver = r212.7e00d05
+ pkgver = v0.1.3
pkgrel = 1
url = https://github.com/rgburke/grv
arch = i686
arch = x86_64
license = GPL-3.0
- makedepends = cmake
- makedepends = go
depends = ncurses
depends = readline
depends = curl
provides = grv
conflicts = grv
- source = grv::git+https://github.com/rgburke/grv.git
- md5sums = SKIP
+ source = https://github.com/rgburke/grv/releases/download/v0.1.3/grv_v0.1.3_linux64
+ sha512sums = f65d558c0a5a9bfad6b34220b5df36584af7c021780758dbdc8714bb8fa5326a844f79e9a731aae3217ec22009583d6ca590dfe980dfccc1152573807952999a
pkgname = grv
diff --git a/PKGBUILD b/PKGBUILD
index 5acdf6f..333d9be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,20 @@
# Maintainer: neodarz <neodarz@neodarz.net>
pkgname=grv
-pkgver=r212.7e00d05
+pkgver=v0.1.3
pkgrel=1
pkgdesc="terminal interface for viewing git repositories"
arch=('i686' 'x86_64')
url="https://github.com/rgburke/$pkgname"
license=('GPL-3.0')
depends=(ncurses readline curl)
-makedepends=(cmake go)
provides=("$pkgname")
conflicts=("$pkgname")
-source=("$pkgname"::"git+https://github.com/rgburke/$pkgname.git")
+source=("https://github.com/rgburke/grv/releases/download/$pkgver/grv_"$pkgver"_linux64")
noextract=()
-md5sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
- ( set -o pipefail
- git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- )
-}
-
-build() {
- export GOROOT=/usr/lib/go
- export GOPATH="$srcdir"
- go get -d github.com/rgburke/grv/cmd/grv
- cd $GOPATH/src/github.com/rgburke/grv
- make
-}
+sha512sums=('f65d558c0a5a9bfad6b34220b5df36584af7c021780758dbdc8714bb8fa5326a844f79e9a731aae3217ec22009583d6ca590dfe980dfccc1152573807952999a')
package() {
- export GOROOT="$GOPATH"
- install -Dm755 "$(pwd)/src/github.com/rgburke/grv/grv" "$pkgdir/usr/bin/$pkgname"
+ install -Dm755 "grv_"$pkgver"_linux64" "$pkgdir/usr/bin/$pkgname"
}