diff options
-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: |