Commit aa602c42 authored by Mark Wagie's avatar Mark Wagie

use tags for pkgver

parent ac3db7ab
# Maintainer: Stefano Capitani <stefanoatmanjarodotorg> # Maintainer: Stefano Capitani <stefanoatmanjarodotorg>
# Maintainer: excalibur1234 @forum.manjaro.org # Maintainer: excalibur1234 @forum.manjaro.org
_pkgname=pacui pkgname=pacui-git
pkgname=$_pkgname-git pkgver=1.14.r6.g846f892
pkgver=r1026.09cb8ec
pkgrel=1 pkgrel=1
pkgdesc="Bash script providing advanced Pacman and Yay/Pikaur/Aurman/Pakku/Trizen/Pacaur functionality in a simple UI" pkgdesc="Bash script providing advanced Pacman and AUR helper functionality in a simple UI"
arch=(any) arch=('any')
url="https://github.com/excalibur1234/$_pkgname" url="https://github.com/excalibur1234/pacui"
license=('GPL3') license=('GPL3')
depends=('pacman-contrib' 'expac' 'sudo' 'fzf') depends=('pacman-contrib' 'expac' 'sudo' 'fzf')
makedepends=('git') makedepends=('git')
provides=("$_pkgname") provides=("${pkgname%-git}")
conflicts=("$_pkgname") conflicts=("${pkgname%-git}")
optdepends=('yay: One AUR helper is needed for AUR support.' optdepends=('yay: One AUR helper is needed for AUR support.'
'pikaur: One AUR helper is needed for AUR support.' 'pikaur: One AUR helper is needed for AUR support.'
'aurman: One AUR helper is needed for AUR support.' 'aurman: One AUR helper is needed for AUR support.'
...@@ -23,14 +22,15 @@ optdepends=('yay: One AUR helper is needed for AUR support.' ...@@ -23,14 +22,15 @@ optdepends=('yay: One AUR helper is needed for AUR support.'
'pacman-mirrors: Needed for Manjaro mirror support' 'pacman-mirrors: Needed for Manjaro mirror support'
'reflector: Needed for Arch Linux mirror support' 'reflector: Needed for Arch Linux mirror support'
'downgrade: Needed for hidden "downgrade" option.') 'downgrade: Needed for hidden "downgrade" option.')
source=("$_pkgname::git+https://github.com/excalibur1234/$_pkgname.git") source=('git+https://github.com/excalibur1234/pacui.git')
md5sums=('SKIP') sha256sums=('SKIP')
pkgver() { pkgver() {
cd "$srcdir/$_pkgname" cd "$srcdir/${pkgname%-git}"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
} }
package () { package () {
install -Dm755 "$srcdir/$_pkgname/pacui" "$pkgdir/usr/bin/pacui" cd "$srcdir/${pkgname%-git}"
install -Dm755 "${pkgname%-git}" -t "$pkgdir/usr/bin"
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment