summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKeyLo992019-08-27 19:18:50 +0300
committerKeyLo992019-08-27 19:18:50 +0300
commit3fe647e265eca2e89a80a15a073a0f8038b8a91d (patch)
tree5400511096c80e44db98c8a96123546ca61ade28 /PKGBUILD
parent3d8c6f941a02b3fedb35ddd37e1312f4411a4cb0 (diff)
downloadaur-3fe647e265eca2e89a80a15a073a0f8038b8a91d.tar.gz
Remove pkgver() function and release v1.0.0
Make package version more readable
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 1 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 186f58fcf97..cd5bc25e7cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=pkgtop-git
pkgdesc="Interactive package manager & resource monitor"
-pkgver=r315.19d57fb
+pkgver=1.0.0
pkgrel=1
arch=('any')
url="https://github.com/keylo99/pkgtop"
@@ -14,11 +14,6 @@ conflicts=("${pkgname%-git}")
source=('git://github.com/keylo99/pkgtop.git#branch=master')
sha256sums=('SKIP')
-pkgver() {
- cd "$srcdir/${pkgname%-git}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
build() {
cd "$srcdir/${pkgname%-git}/src"
go get -d ./...