diff options
author | Mohammadreza Abdollahzadeh | 2019-01-08 17:33:31 +0330 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2019-01-08 17:33:31 +0330 |
commit | efc51e11de59b05cefdbed35001ff1ac3a98894b (patch) | |
tree | 0b643f501e04c213929453028a167b7374b5353c | |
parent | a40ce7f5c8af370b4b4767c2b69f570548382c29 (diff) | |
download | aur-efc51e11de59b05cefdbed35001ff1ac3a98894b.tar.gz |
use tag based version
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = papirus-icon-theme-git pkgdesc = Papirus icon theme (git version) - pkgver = r724.81a23d363 + pkgver = 20190106.r0.ga70d64aa0d pkgrel = 1 epoch = 1 url = https://github.com/PapirusDevelopmentTeam/papirus-icon-theme @@ -1,11 +1,12 @@ -# Maintainer: Edgard Castro <castro@edgard.org> +# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com> +# Contributor: Edgard Castro <castro@edgard.org> # Contributor: Frederic Bezies <fredbezies at gmail dot com> # Contributor: FadeMind <fademind@gmail.com> # Contributor: Icaro Perseo <icaroperseo[at]protonmail[dot]com> # Contributor: Lucas SaliƩs Brum <lucas@archlinux.com.br> pkgname=papirus-icon-theme-git -pkgver=r724.81a23d363 +pkgver=20190106.r0.ga70d64aa0d pkgrel=1 epoch=1 pkgdesc="Papirus icon theme (git version)" @@ -33,10 +34,11 @@ sha256sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { cd "${srcdir}/${pkgname}" make DESTDIR="${pkgdir}/" install } +# vim:set ts=2 sw=2 et: |