summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fcaac5f2d322aa2cd6f5d572e26996ffdc52fb0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
pkgname=sescript-git
_gitname=sescript
pkgver=3d8cd12
pkgrel=1
pkgdesc='a scheme syntax to ecmascript and javascript compiler'
arch=(any)
license=(GPL3)
makedepends=(git gcc)
depends=(guile sph-lib-git)
provides=(sescript)
source=("git://git.sph.mn/$_gitname")
url="http://sph.mn"
md5sums=(SKIP)

pkgver() {
  cd $_gitname
  git log -n 1 --pretty=format:"%h"
}

package() {
  cd $_gitname
  ./exec/install "${pkgdir}"
  chmod 755 -R "${pkgdir}"
}