blob: fbe24f4f627800c585a5de3e20c43e1f248b4e2d (
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
35
36
37
38
|
# Contributor: scrawler <scrawler@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=newlisp-devel
_pkgname=newlisp
pkgver=10.7.5
pkgrel=1
pkgdesc="A LISP like, general purpose scripting language. Ongoing development version."
url="http://www.newlisp.org"
license=('GPL3')
arch=('x86_64' 'i686')
depends=('readline' 'libffi')
optdepends=('java-environment: for gui server')
provides=('newlisp')
conflicts=('newlisp')
options=('docs' '!makeflags')
source=("http://www.newlisp.org/downloads/development/inprogress/${_pkgname}-$pkgver.tgz")
sha512sums=('f0016c7d0803c6b642f563acbdfd6047699169de6f5fb20ea78995018b6df3c40c29e303da5db4f5f413b2f24228b8449cfc1bcc8ffe4c1339e66ef0af56444b')
prepare() {
cd "$_pkgname-$pkgver"
sed -i 's+-I/usr/local/lib/libffi-3.0.13/include+-I/usr/lib/libffi-3.2.1/include+' makefile_linux_utf8_ffi makefile_linuxLP64_utf8_ffi
}
build() {
cd "$_pkgname-$pkgver"
./configure --prefix=/usr --with-ffi
make
}
package() {
cd "$_pkgname-$pkgver"
install -d "$pkgdir"/usr/bin
install -d "$pkgdir"/usr/share/man/man1
make bindir="$pkgdir"/usr/bin mandir="$pkgdir"/usr/share/man \
datadir="$pkgdir"/usr/share install
ln -sf /usr/bin/newlisp-$pkgver "$pkgdir"/usr/bin/newlisp
}
|