summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rwxr-xr-xPKGBUILD17
2 files changed, 15 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 02bc1be4f01..e4bb35a4cff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,18 @@
# Generated by mksrcinfo v8
-# Sat Feb 20 15:48:15 UTC 2016
+# Sun Feb 28 16:38:43 UTC 2016
pkgbase = sescript-git
pkgdesc = a scheme syntax to ecmascript and javascript compiler
- pkgver = 0
+ pkgver = 31
pkgrel = 1
url = http://sph.mn
arch = any
- license = GPL3
+ license = gpl3+
makedepends = git
- depends = guile
- depends = sph-lib-git
+ depends = guile>=2
+ depends = sph-lib
provides = sescript
- source = git://git.sph.mn/sescript
+ conflicts = sescript
+ source = sescript-git::git://git.sph.mn/sescript#branch=stable
md5sums = SKIP
pkgname = sescript-git
diff --git a/PKGBUILD b/PKGBUILD
index 50196843788..3592068e7f7 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,23 @@
pkgname=sescript-git
-_gitname=sescript
-pkgver=0
+pkgver=31
pkgrel=1
pkgdesc='a scheme syntax to ecmascript and javascript compiler'
arch=(any)
-license=(GPL3)
+license=(gpl3+)
makedepends=(git)
-depends=(guile sph-lib-git)
+depends=("guile>=2" sph-lib)
provides=(sescript)
-source=("git://git.sph.mn/$_gitname")
+conflicts=(sescript)
+source=("$pkgname::git://git.sph.mn/sescript#branch=stable")
url="http://sph.mn"
md5sums=(SKIP)
pkgver() {
- cd $_gitname
- git log -n 1 --pretty=format:"%h"
+ cd $pkgname
+ git rev-list --count HEAD
}
package() {
- cd $_gitname
+ cd $pkgname
./exe/install "${pkgdir}"
- chmod 755 -R "${pkgdir}"
} \ No newline at end of file