summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9c118a4826066717065eec2dc0a3883be3d42cb4 (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
25
26
27
28
# Maintainer: bitwave <aur [at] oomlu [d0t] de>

pkgname=lemon-lang-git
pkgver=13.9a0b3db
pkgrel=1
pkgdesc="An embeddable, lightweight programming language in ANSI C"
arch=(i686 x86_64)
url="http://www.lemon-lang.org/"
license=('mit')
depends=()
source=('git://github.com/lemon-lang/lemon/')
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/lemon"
    echo $(git rev-list --count master).$(git rev-parse --short master)
}

build() {
    cd "$srcdir/lemon"
    make STATIC=1
}

package() {
    cd "$srcdir/lemon"
    install -Dm 755 $srcdir/lemon/lemon $pkgdir/usr/bin/lemon
}