You are not logged in.
Pages: 1
Hey guys,
I have the newlisp package in the aur, which formerly worked fine, but some changes to the way newlisp is built has messed me up.
It used to be that "newlisp" was copied to "/usr/bin/newlisp", now "/usr/bin/newlisp.version.number" should be symlinked to "/usr/bin/newlisp", but I have to do it by hand. I think the intention is that the "newlisp.version.numbers" should be kept if for whatever reason you want to use a previous version, and only the latest would be symlinked.
so anyway here is the pkgbuild and install file
PKGBUILD
# Contributor: scrawler <scrawler@gmail.com>
pkgname=newlisp
pkgver=10.1.11
pkgrel=2
pkgdesc="newLISP is a LISP like, general purpose scripting language."
url="http://www.newlisp.org"
license=('GPL')
arch=('x86_64' 'i686')
depends=('readline' 'kernel-headers')
options=('docs')
source=(http://newlisp.org/downloads/development/$pkgname-$pkgver.tgz)
md5sums=('596d23e9d6a53d26f91ff74b139b132b')
install=$pkgname.install
build() {
cd $srcdir/$pkgname-$pkgver
./configure
[ $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
rm -r $pkgdir/usr/bin/newlisp
}newlisp.install
post_install() {
VER=$(pacman -Q newlisp | awk '{print $2}' | cut -d '-' -f 1)
pushd /usr/bin
ln -sf newlisp-$VER newlisp
popd
}
post_update() {
post_install
}
pre_remove() {
rm /usr/bin/newlisp
}This does not work right for me, and I think the old versions should be kept. What do you think?
Offline
Pages: 1