Commit aa602c42 authored by Mark Wagie's avatar Mark Wagie

use tags for pkgver

parent ac3db7ab
# Maintainer: Stefano Capitani <stefanoatmanjarodotorg>
# Maintainer: excalibur1234 @forum.manjaro.org
_pkgname=pacui
pkgname=$_pkgname-git
pkgver=r1026.09cb8ec
pkgname=pacui-git
pkgver=1.14.r6.g846f892
pkgrel=1
pkgdesc="Bash script providing advanced Pacman and Yay/Pikaur/Aurman/Pakku/Trizen/Pacaur functionality in a simple UI"
arch=(any)
url="https://github.com/excalibur1234/$_pkgname"
pkgdesc="Bash script providing advanced Pacman and AUR helper functionality in a simple UI"
arch=('any')
url="https://github.com/excalibur1234/pacui"
license=('GPL3')
depends=('pacman-contrib' 'expac' 'sudo' 'fzf')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
optdepends=('yay: 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.'
......@@ -23,14 +22,15 @@ optdepends=('yay: One AUR helper is needed for AUR support.'
'pacman-mirrors: Needed for Manjaro mirror support'
'reflector: Needed for Arch Linux mirror support'
'downgrade: Needed for hidden "downgrade" option.')
source=("$_pkgname::git+https://github.com/excalibur1234/$_pkgname.git")
md5sums=('SKIP')
source=('git+https://github.com/excalibur1234/pacui.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
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