summaryrefslogtreecommitdiff
path: root/community-testing/librep
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-25 23:14:55 +0000
committerroot <root@rshg054.dnsready.net>2011-11-25 23:14:55 +0000
commit6a642c093f29814cdd0fdefeee3ab9400eae490f (patch)
treef2edeb17bda6dbc9e784455f1b38f3fcc7e5b64a /community-testing/librep
parent5894dd675f4bd3ba296d262fae99b3b87a0f87fd (diff)
Fri Nov 25 23:14:55 UTC 2011
Diffstat (limited to 'community-testing/librep')
-rw-r--r--community-testing/librep/PKGBUILD33
-rw-r--r--community-testing/librep/librep.install18
2 files changed, 51 insertions, 0 deletions
diff --git a/community-testing/librep/PKGBUILD b/community-testing/librep/PKGBUILD
new file mode 100644
index 000000000..b84b8b68e
--- /dev/null
+++ b/community-testing/librep/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 59424 2011-11-24 17:05:01Z stephane $
+# Maintainer: stefan-husmann@t-online.de
+# Contributor: Juergen Hoetzel <juergen@archlinux.org>
+
+pkgname=librep
+pkgver=0.92.1b
+pkgrel=2
+pkgdesc="A Lisp system for UNIX"
+license=('GPL2')
+arch=('i686' 'x86_64')
+url="http://sawfish.wikia.com/wiki/Librep"
+depends=('gmp' 'gdbm' 'libffi')
+install=${pkgname}.install
+options=('!emptydirs' '!libtool')
+source=(http://download.tuxfamily.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
+sha1sums=('f75e1197646bbf1594fc4765802aab0bffe1bb02')
+
+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-testing/librep/librep.install b/community-testing/librep/librep.install
new file mode 100644
index 000000000..7e1b990bf
--- /dev/null
+++ b/community-testing/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
+}