summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 233a372f68015aab74a9c90b37c07f0536baf021 (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=
pkgrel=1
pkgdesc='a scheme syntax to ecmascript and javascript compiler'
arch=(any)
license=(GPL3)
makedepends=(git)
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}"
}