From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/librep/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ community/librep/librep.install | 18 ++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 community/librep/PKGBUILD create mode 100644 community/librep/librep.install (limited to 'community/librep') diff --git a/community/librep/PKGBUILD b/community/librep/PKGBUILD new file mode 100644 index 000000000..883f3b7fe --- /dev/null +++ b/community/librep/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 42084 2011-03-13 17:47:35Z shusmann $ +# Maintainer: stefan-husmann@t-online.de +# Contributor: Juergen Hoetzel + +pkgname=librep +pkgver=0.91.1 +pkgrel=1 +pkgdesc="A Lisp system for UNIX" +license=('GPL2') +arch=('i686' 'x86_64') +url="http://sawfish.wikia.com/wiki/Librep" +depends=('gmp' 'gdbm' 'libffi' 'bash') +install=${pkgname}.install +options=('libtool' '!emptydirs') +source=(http://download.tuxfamily.org/${pkgname}/${pkgname}-${pkgver}.tar.xz) +sha1sums=('6cba5bdb145814c4985b2f1939d161b76f494b7c') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --disable-static \ + --prefix=/usr \ + --libexecdir=/usr/lib/$pkgname \ + --with-readline + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # create some directories or make install fails +# install -d $pkgdir/usr/{share/aclocal,lib/pkgconfig} + make DESTDIR=${pkgdir} install +} diff --git a/community/librep/librep.install b/community/librep/librep.install new file mode 100644 index 000000000..4bc79b7e2 --- /dev/null +++ b/community/librep/librep.install @@ -0,0 +1,18 @@ +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 +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f ${info_dir}/dir 2> /dev/null + done +} -- cgit v1.2.3-54-g00ecf