summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpzl2017-07-31 23:16:40 -0400
committerpzl2017-07-31 23:16:40 -0400
commit30e3a795caee6754eb3733a3f8188a1928818c45 (patch)
treec64a8faa86de732223afea106c9fdb0c807399a9
parent1f9ebcede2ce67edbcd6fae87955c8d53f8b4835 (diff)
downloadaur-30e3a795caee6754eb3733a3f8188a1928818c45.tar.gz
switch to static versioning as this isn't a -git package
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD15
2 files changed, 12 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c11191cee5d..55c45525ecc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
# Generated by mksrcinfo v8
-# Wed Jun 29 21:38:21 UTC 2016
+# Tue Aug 1 03:15:56 UTC 2017
pkgbase = pacvcs
pkgdesc = Pacman VCS version checker
- pkgver = 6.56a4c7c
+ pkgver = 1.0.0
pkgrel = 1
+ epoch = 1
url = https://github.com/pzl/pacvcs
arch = any
license = MIT
@@ -13,9 +14,9 @@ pkgbase = pacvcs
optdepends = bzr
provides = pacvcs
conflicts = pacvcs
- source = git+https://github.com/pzl/pacvcs.git
- md5sums = SKIP
- sha256sums = SKIP
+ source = https://github.com/pzl/pacvcs/archive/v1.0.0.tar.gz
+ md5sums = a76e87abe366daaa3d39036a69cde8ea
+ sha256sums = d1b0222099b57dec2b041b6dc446416bac3e8db43f1787b908102110934589ee
pkgname = pacvcs
diff --git a/PKGBUILD b/PKGBUILD
index 85f11f9f7b8..8a8d870f789 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer: pzl <alsoelp@gmail.com>
pkgname=pacvcs
-pkgver=6.56a4c7c
+pkgver=1.0.0
pkgrel=1
+epoch=1
pkgdesc="Pacman VCS version checker"
arch=('any')
url="https://github.com/pzl/pacvcs"
@@ -13,17 +14,13 @@ makedepends=('git')
provides=("${pkgname}")
conflicts=("${pkgname}")
options=()
-source=('git+https://github.com/pzl/pacvcs.git')
-md5sums=('SKIP')
-sha256sums=('SKIP')
+source=('https://github.com/pzl/pacvcs/archive/v1.0.0.tar.gz')
+md5sums=('a76e87abe366daaa3d39036a69cde8ea')
+sha256sums=('d1b0222099b57dec2b041b6dc446416bac3e8db43f1787b908102110934589ee')
-pkgver() {
- cd "$srcdir/$pkgname"
- echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
-}
package() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/${pkgname}-${pkgver}"
install -D -m755 "$pkgname" "${pkgdir}/usr/bin/$pkgname"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}