summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3c5f6d5064da58f0eca6b90a4a4c26cf599c23aa (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: CuVoodoo <pcb-rnd@cuvoodoo.info>
pkgname=fungw
pkgver=1.2.1
pkgrel=1
pkgdesc="tiny, portable library written in C (C89) that manages dynamic function calls across different programming languages"
url="http://www.repo.hu/projects/fungw/"
arch=('i686' 'x86_64')
license=('LGPL2')
depends=('genht')
# fungw is not strictly dependant on genht (it also embeds it), but other packages relying on fungw also can optionally use external genht, and we don't want them to use different versions
optdepends=('lua' 'perl' 'tcl' 'python2' 'python' 'duktape' 'mujs' 'libmawk>=1.0.3')
# picolisp could not compile
# there is no estutter package
# there is no funlist package
# compilation against mruby fails because mruby is missing the -fPIC compile flag
source=("http://www.repo.hu/projects/$pkgname/releases/$pkgname-$pkgver.tar.gz")
sha256sums=('dd1266713a3f8e0f86fe8942c5e565b786a3bffe42b331a6023d56c22ff002ae')

build() {
  cd "$srcdir/$pkgname-$pkgver/"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver/"
  make DESTDIR="$pkgdir/" install
}