summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8f5e94c1f60aa3c27b5919b4bf2f2a1071f0b9f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
arch=(any)
depends=(zenity)
license=(gpl3)
md5sums=(SKIP)
pkgdesc="guile bindings to zenity"
pkgname=guile-zenity-git
pkgrel=1
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 guile-zenity
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd guile-zenity
  target="$pkgdir/usr/share/guile/site"
  mkdir -p "$target"
  cp -t "$target" zenity.scm
}