summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortrizen2017-11-12 20:12:06 +0200
committertrizen2017-11-12 20:12:06 +0200
commitcba1fcd6c65aff1f2ac5c114565f86a3c7e78516 (patch)
tree3c2efa91e0122a166dd2ddf0062b8c23901f6069
parent1b0dd0905ee7c62e224581c04d397858f21d37ed (diff)
downloadaur-cba1fcd6c65aff1f2ac5c114565f86a3c7e78516.tar.gz
Switched to tagged versions.
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD16
2 files changed, 11 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 134759826ce..4f98e48c8d8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
# Generated by mksrcinfo v8
-# Fri Oct 20 09:31:46 UTC 2017
+# Sun Nov 12 18:12:02 UTC 2017
pkgbase = trizen
pkgdesc = Trizen's AUR Package Manager: A lightweight wrapper for AUR.
- pkgver = 239.bb4873e
+ pkgver = 1.24
pkgrel = 1
+ epoch = 1
url = https://github.com/trizen/trizen
arch = any
license = GPL3
@@ -18,8 +19,8 @@ pkgbase = trizen
depends = perl-lwp-protocol-https
optdepends = perl-json-xs: faster JSON deserialization
optdepends = perl-term-readline-gnu: for better STDIN support
- source = git://github.com/trizen/trizen.git
- md5sums = SKIP
+ source = trizen-1.24.tar.gz::https://github.com/trizen/trizen/archive/1.24.tar.gz
+ sha256sums = 72a94eab33855a61c0338d42767d4cc5759c78079263e93b87328aa9be3b14ef
pkgname = trizen
diff --git a/PKGBUILD b/PKGBUILD
index 60d11749daf..25164f7a460 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
-# Maintainer: Trizen <echo dHJpemVueEBnbWFpbC5jb20K | base64 -d>
+# Maintainer: Trizen <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>
pkgname=trizen
-pkgver=239.bb4873e
+pkgver=1.24
pkgrel=1
+epoch=1
pkgdesc="Trizen's AUR Package Manager: A lightweight wrapper for AUR."
arch=('any')
url="https://github.com/trizen/trizen"
@@ -25,15 +26,10 @@ optdepends=(
'perl-term-readline-gnu: for better STDIN support'
)
-source=('git://github.com/trizen/trizen.git')
-md5sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- echo $(git rev-list --count master).$(git rev-parse --short master)
-}
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/trizen/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('72a94eab33855a61c0338d42767d4cc5759c78079263e93b87328aa9be3b14ef')
package() {
- cd $pkgname
+ cd "$pkgname-$pkgver"
install -m 755 -D $pkgname "$pkgdir/usr/bin/$pkgname"
}