blob: 710bbef68fcab375821ad7b4a8a946cd8652f55a (
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: Tony Nguyen <v35gtr@hotmail.com>
pkgname=felix
pkgver=2019.01.06.r79.gd78b73884
pkgrel=1
pkgdesc='The Felix programming language'
arch=('x86_64')
url='https://github.com/felix-lang/felix'
license=('Felix is free for any use.')
depends=('python3' 'gcc' 'gmp' 'gsl' 'sdl2' 'sdl2_ttf' 'sdl2_gfx' 'sdl2_image')
makedepends=('ocaml')
source=("${pkgname}::git+https://github.com/felix-lang/felix")
sha512sums=('SKIP')
prepare() {
cd "$pkgname"
# SDL2 on Arch is installed at /usr instead of /usr/local
sed -i 's|usr/local|usr|g' src/packages/sdl.fdoc
}
pkgver() {
cd "$pkgname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$pkgname"
make
}
package() {
cd "$pkgname"
make PREFIX="$pkgdir/usr/local" install
}
|