diff options
author | sph | 2017-05-04 18:04:54 +0000 |
---|---|---|
committer | sph | 2017-05-04 18:04:54 +0000 |
commit | c03ec2c1f432ebdf79b5552bb5cff5a6ef277abf (patch) | |
tree | e3872187176d9b6befc561aab66d3071a6e40ca0 | |
download | aur-c03ec2c1f432ebdf79b5552bb5cff5a6ef277abf.tar.gz |
update pkgbuild
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9f2c23cebbe2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# 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 + pkgrel = 1 + url = https://notabug.org/rain1/guile-zenity + arch = any + license = gpl3 + depends = zenity + provides = guile-zenity + source = guile-zenity::git+https://notabug.org/rain1/guile-zenity.git + md5sums = SKIP + +pkgname = guile-zenity-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a41d1b42a9fc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +arch=(any) +depends=(zenity) +license=(gpl3) +md5sums=(SKIP) +pkgdesc='guile bindings to zenity' +pkgname=guile-zenity-git +_gitname=guile-zenity +pkgrel=1 +pkgver=v0.1.r21.g6853063 +provides=(guile-zenity) +source=(guile-zenity::git+https://notabug.org/rain1/guile-zenity.git) +url="https://notabug.org/rain1/guile-zenity" + +pkgver() { + cd "$_gitname" + 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 +}
\ No newline at end of file |