summaryrefslogtreecommitdiff
path: root/community/librep
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/librep
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/librep')
-rw-r--r--community/librep/PKGBUILD33
-rw-r--r--community/librep/librep.install18
2 files changed, 51 insertions, 0 deletions
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 <juergen@archlinux.org>
+
+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
+}