diff options
author | Michał Wojdyła | 2023-06-08 00:41:28 +0200 |
---|---|---|
committer | Michał Wojdyła | 2023-06-08 00:41:28 +0200 |
commit | 0b7149ae8e0514e427a428c57caa4fd8d5413ca5 (patch) | |
tree | 9862db4f73d84c50cc50842fff89030c5a20219c | |
parent | 7252712438aed1e14e30291c445032b5770e04a9 (diff) | |
download | aur-0b7149ae8e0514e427a428c57caa4fd8d5413ca5.tar.gz |
update PKGBUILD
-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" |