diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 13 insertions, 22 deletions
@@ -1,15 +1,15 @@ -# Generated by mksrcinfo v8 -# Thu Jan 7 17:34:11 UTC 2016 pkgbase = pfds-guile-git pkgdesc = Purely Functional Data Structures in Scheme. Installs the files for use with Guile. - pkgver = 20130202 + pkgver = 20140711 pkgrel = 1 url = https://github.com/ijp/pfds arch = any license = custom makedepends = git depends = guile>=2 + provides = pfds-guile conflicts = pfds-guile + source = git+https://github.com/ijp/pfds + md5sums = SKIP pkgname = pfds-guile-git - @@ -1,6 +1,6 @@ -#contributor: tantalum <tantalum at online dot de> +#Contributor: tantalum <tantalum at online dot de> pkgname=pfds-guile-git -pkgver=20130202 +pkgver=20140711 pkgrel=1 pkgdesc="Purely Functional Data Structures in Scheme. Installs the files for use with Guile." arch=(any) @@ -9,25 +9,16 @@ license=(custom) depends=("guile>=2") makedepends=(git) conflicts=(pfds-guile) -provides=() -source=() - +provides=(pfds-guile) _gitname=pfds -_gitroot="git://github.com/ijp" +_gitroot="https://github.com/ijp" +source=(git+$_gitroot/$_gitname) +md5sums=('SKIP') -build() { - cd "$srcdir" - msg "Connecting to GIT server..." - if [ -d "$_gitname" ] ; then - cd "$_gitname" && git pull origin - cd "$srcdir" - msg "The local files are updated." - else - git clone --depth=1 "$_gitroot/$_gitname" - fi - msg "GIT checkout done or server timeout" +pkgver() { + cd $_gitname + git log -1 --format='%cd' --date=short | tr -d -- '-' } - package() { cd "$srcdir/$_gitname" t="$pkgdir/usr/share/guile/site/$_gitname" |