diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2021-04-09 15:19:00 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2021-04-09 20:13:19 -0400 |
commit | ea53210f526a3618a30bdf8051e52ae589f7355e (patch) | |
tree | 68200be72a063563b5eb6e4ba17e14a497f4151b /pcr/newlisp | |
parent | c676863f5ed5defb733ed5fd22ae44148d38544d (diff) | |
download | abslibre-ea53210f526a3618a30bdf8051e52ae589f7355e.tar.gz abslibre-ea53210f526a3618a30bdf8051e52ae589f7355e.tar.bz2 abslibre-ea53210f526a3618a30bdf8051e52ae589f7355e.zip |
[newlisp]: upgrade to v10.7.5
Diffstat (limited to 'pcr/newlisp')
-rw-r--r-- | pcr/newlisp/PKGBUILD | 48 | ||||
-rw-r--r-- | pcr/newlisp/newlisp.install | 4 |
2 files changed, 30 insertions, 22 deletions
diff --git a/pcr/newlisp/PKGBUILD b/pcr/newlisp/PKGBUILD index c2dec618f..409f5891f 100644 --- a/pcr/newlisp/PKGBUILD +++ b/pcr/newlisp/PKGBUILD @@ -1,29 +1,37 @@ -# Contributor (Arch): scrawler <scrawler@gmail.com> +# Contributor: scrawler <scrawler@gmail.com> +# Maintainer (aur): Stefan Husmann <stefan-husmann@t-online.de> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> + + pkgname=newlisp -pkgver=10.7.1 +pkgver=10.7.5 pkgrel=1 -pkgdesc="newLISP is a LISP like, general purpose scripting language." +pkgdesc="A LISP like, general purpose scripting language." url="http://www.newlisp.org" -license=('GPL') +license=('GPL3') arch=('x86_64' 'i686') -depends=('readline') -optdepends=('jdk8-openjdk') -options=('docs') -source=(http://newlisp.org/downloads/$pkgname-$pkgver.tgz) -md5sums=('e4c8da46f7b435a5b2de441f6929527c') -install=$pkgname.install +depends=('readline' 'libffi') +optdepends=('java-environment: for gui server') +options=('docs' '!makeflags') +source=("http://www.newlisp.org/downloads/$pkgname-$pkgver.tgz") +sha512sums=('1882c665ee8a7b683038622e0760b62386929a99afb17b197ea9243214070fae6622b83e56113738275587fcbe3cd6b127154a38dc0ff36bae2751f9e13a1209') + +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 $srcdir/$pkgname-$pkgver -./configure + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --with-ffi + make } -package(){ -cd $srcdir/$pkgname-$pkgver -[ $CARCH = "x86_64" ] && make -f makefile_linuxLP64_utf8 -[ $CARCH = "i686" ] && make -f makefile_linux_utf8 -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 + +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 } diff --git a/pcr/newlisp/newlisp.install b/pcr/newlisp/newlisp.install index 1b112edac..7bf360462 100644 --- a/pcr/newlisp/newlisp.install +++ b/pcr/newlisp/newlisp.install @@ -3,7 +3,7 @@ pre_install() { } post_install() { - ln -sf /usr/bin/newlisp-10.7.0 /usr/bin/newlisp + ln -sf /usr/bin/newlisp-10.7.1 /usr/bin/newlisp } pre_upgrade() { @@ -11,7 +11,7 @@ pre_upgrade() { } post_upgrade() { - ln -sf /usr/bin/newlisp-10.7.0 /usr/bin/newlisp + ln -sf /usr/bin/newlisp-10.7.1 /usr/bin/newlisp } pre_remove() { |