summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--].SRCINFO4
-rwxr-xr-x[-rw-r--r--]PKGBUILD15
2 files changed, 8 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9f2c23cebbe..f0cc1cc7fe5 100644..100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Thu May 4 18:04:54 UTC 2017
pkgbase = guile-zenity-git
pkgdesc = guile bindings to zenity
- pkgver = v0.1.r21.g6853063
+ pkgver = v0.1.r22.ge91ce3e
pkgrel = 1
url = https://notabug.org/rain1/guile-zenity
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index a41d1b42a9f..8f5e94c1f60 100644..100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,23 +2,22 @@ arch=(any)
depends=(zenity)
license=(gpl3)
md5sums=(SKIP)
-pkgdesc='guile bindings to zenity'
+pkgdesc="guile bindings to zenity"
pkgname=guile-zenity-git
-_gitname=guile-zenity
pkgrel=1
-pkgver=v0.1.r21.g6853063
+pkgver=v0.1.r22.ge91ce3e
provides=(guile-zenity)
source=(guile-zenity::git+https://notabug.org/rain1/guile-zenity.git)
url="https://notabug.org/rain1/guile-zenity"
pkgver() {
- cd "$_gitname"
+ cd guile-zenity
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
- cd "$srcdir/$_gitname"
- dest="$pkgdir/usr/share/guile/site"
- mkdir -p "$dest"
- cp -t "$dest" zenity.scm
+ cd guile-zenity
+ target="$pkgdir/usr/share/guile/site"
+ mkdir -p "$target"
+ cp -t "$target" zenity.scm
} \ No newline at end of file