diff options
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 8 deletions
@@ -1,15 +1,16 @@ pkgbase = nautilus-admin-gtk4 pkgdesc = Extension for Nautilus to do administrative operations - pkgver = 1.1.9.f736e9d - pkgrel = 2 + pkgver = 1.2.0.r0.g3cad8df + pkgrel = 1 url = https://github.com/MacTavishAO/nautilus-admin-gtk4 install = nautilus-admin-gtk4.install arch = any license = GPL3 makedepends = cmake>=2.6 makedepends = gettext + makedepends = git depends = nautilus - depends = python-nautilus-gtk4 + depends = python-nautilus depends = polkit optdepends = gedit: to use the "Edit as Administrator" action optdepends = gnome-terminal: to use the "Run as Administrator" action @@ -3,14 +3,14 @@ _pkgname=nautilus-admin pkgname=$_pkgname-gtk4 -pkgver=1.1.9.f736e9d -pkgrel=2 +pkgver=1.2.0.r0.g3cad8df +pkgrel=1 pkgdesc="Extension for Nautilus to do administrative operations" arch=('any') url="https://github.com/MacTavishAO/$pkgname" license=('GPL3') -depends=('nautilus' 'python-nautilus-gtk4' 'polkit') -makedepends=('cmake>=2.6' 'gettext') +depends=('nautilus' 'python-nautilus' 'polkit') +makedepends=('cmake>=2.6' 'gettext' 'git') optdepends=('gedit: to use the "Edit as Administrator" action' 'gnome-terminal: to use the "Run as Administrator" action') conflicts=($_pkgname $_pkgname-git) @@ -20,7 +20,7 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" - printf "1.1.9.%s" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { |