summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 66b6fe9ed5216f9e8d97817eb00b3ebf34bb14d8 (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/content/3d3"
md5sums=(SKIP)

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

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