blob: 536aa1643f36e5d03129d839ee3d76d95b01581c (
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
29
30
31
32
33
34
|
# Maintainer: Xavier Francisco <echo moc.liamg@ocsicnarf.n.reivax | rev>
# PKGBUILD script for laby upstream, git version
# Learn programming, playing with ants and spider webs ;-) https://sgimenez.github.io/laby/
_pkgname=laby
pkgname=$_pkgname-git
pkgver=r363.b29fda9
pkgrel=1
pkgdesc="Learn programming, playing with ants and spider webs"
arch=('i686' 'x86_64')
url="https://sgimenez.github.io/laby/"
license=('GPL3')
groups=()
depends=('lablgtk3')
makedepends=('git' 'ocamlbuild' 'ocaml-findlib')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+https://github.com/sgimenez/laby")
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build () {
cd "$srcdir/$_pkgname"
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir/" install
}
|