diff options
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x[-rw-r--r--] | PKGBUILD | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD index a41d1b42a9fc..8f5e94c1f60a 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 |