diff options
author | Md Jahidul Hamid | 2019-08-17 17:03:17 +0600 |
---|---|---|
committer | Md Jahidul Hamid | 2019-08-17 17:03:17 +0600 |
commit | f19659c16e08d65cb763df5248948ae6d2cdc82d (patch) | |
tree | 43e7c4623d8bcc466463545444a223a301ce14a9 | |
parent | b31a36e448432f3f7eeade2b3fccd270dcf6bef6 (diff) | |
download | aur-f19659c16e08d65cb763df5248948ae6d2cdc82d.tar.gz |
new release following git release
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 12 insertions, 7 deletions
@@ -7,9 +7,8 @@ pkgbase = gencsr license = BSD depends = bash depends = openssl - source = https://github.com/neurobin/gencsr/archive/0.0.3.tar.gz - validpgpkeys = 3331 6137 5B22 27AC F7AA 6351 A4A2 CA5B 6BDA A871 - md5sums = f7318349d2f133463504c1363eb4edbc + source = https://github.com/neurobin/gencsr/archive/release.tar.gz + md5sums = SKIP pkgname = gencsr @@ -7,11 +7,17 @@ arch=(any) url="https://github.com/neurobin/gencsr" license=('BSD') depends=(bash openssl) -source=( "https://github.com/neurobin/$pkgname/archive/$pkgver.tar.gz" ) -md5sums=('f7318349d2f133463504c1363eb4edbc') -validpgpkeys=('3331 6137 5B22 27AC F7AA 6351 A4A2 CA5B 6BDA A871') +source=( "https://github.com/neurobin/$pkgname/archive/release.tar.gz" ) +md5sums=('SKIP') +download_branch=release + +pkgver() { + cd "${srcdir}/gencsr-$download_branch" + ./gencsr -v | grep -P 'Version:.*' |grep -oP '[\d.]+$' +} + package() { - cd "$pkgname-$pkgver" + cd "$pkgname-$download_branch" make DESTDIR="$pkgdir/" install } |