Commit a747b07e authored by AlmAck's avatar AlmAck

librep removed obsolete package fix #158

parent fa17c88c
Pipeline #2534 failed with stages
in 16 seconds
# $Id: PKGBUILD 72741 2010-03-19 11:30:30Z allan $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
pkgname=librep
pkgver=0.90.5
pkgrel=2
pkgdesc="A Lisp system for UNIX"
depends=('gmp' 'gdbm' 'libffi' 'bash' 'ncurses>=5.6-7')
source=(http://downloads.sourceforge.net/sourceforge/librep/librep-$pkgver.tar.bz2)
md5sums=('76e766d4f7034ee293f4405871ab34d3')
license=('GPL2')
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/librep"
install=librep.install
build() {
cd $srcdir/$pkgname-$pkgver
./configure --disable-static \
--prefix=/usr \
--libexecdir=/usr/lib/$pkgname \
--with-readline || return 1
make || return 1
# create some directories or make install fails
install -d $pkgdir/usr/{share/aclocal,lib/pkgconfig}
make DESTDIR=$pkgdir install
}
info_dir=/usr/share/info
info_files=(librep.info)
post_install() {
for f in ${info_files[@]}; do
install-info ${info_dir}/$f ${info_dir}/dir 2> /dev/null
done
}
post_upgrade() {
post_install $1
}
pre_remove() {
for f in ${info_files[@]}; do
install-info --delete ${info_dir}/$f ${info_dir}/dir 2> /dev/null
done
}
op=$1
shift
$op $*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment