summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsph2016-02-21 21:59:19 +0000
committersph2016-02-21 21:59:19 +0000
commitf74e378ec71279cbfc5d43f21d75bdd53a237c3d (patch)
treeef7344244805eaa8680447dfe75b8e041eda8139
parent839ce51cd92c8b51911fef8e1079cf2b50b6fc4b (diff)
downloadaur-f74e378ec71279cbfc5d43f21d75bdd53a237c3d.tar.gz
change pkgver creation. checkout stable branch instead of master
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
2 files changed, 10 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3cf3176a8fb..ab2d5b44ce9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
# Generated by mksrcinfo v8
-# Sat Feb 20 15:44:39 UTC 2016
+# Sun Feb 21 21:58:38 UTC 2016
pkgbase = sph-lib-git
pkgdesc = set of over 80 guile scheme libraries
- pkgver = a641d33
- pkgrel = 3
+ pkgver = 181
+ pkgrel = 1
url = http://sph.mn/content/187
arch = any
license = gpl3
makedepends = git
depends = guile
provides = sph-lib
- source = git://git.sph.mn/sph-lib
+ source = sph-lib-git::git://git.sph.mn/sph-lib#branch=stable
md5sums = SKIP
pkgname = sph-lib-git
diff --git a/PKGBUILD b/PKGBUILD
index d7b08d75bee..20590b4a1e2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,23 @@
pkgname=sph-lib-git
-_gitname=sph-lib
-pkgver=a641d33
-pkgrel=3
+pkgver=181
+pkgrel=1
pkgdesc='set of over 80 guile scheme libraries'
arch=(any)
license=(gpl3)
makedepends=(git)
depends=(guile)
provides=(sph-lib)
-source=("git://git.sph.mn/sph-lib")
+source=("$pkgname::git://git.sph.mn/sph-lib#branch=stable")
url="http://sph.mn/content/187"
md5sums=(SKIP)
pkgver() {
- cd $_gitname
- git log -n 1 --pretty=format:"%h"
+ cd $pkgname
+ git rev-list --count HEAD
}
package() {
- cd $_gitname
+ cd $pkgname
chmod 755 -R "${pkgdir}"
./exe/install "${pkgdir}"
} \ No newline at end of file