diff options
author | root <root@rshg054.dnsready.net> | 2012-04-28 00:01:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-28 00:01:35 +0000 |
commit | 00f77ef3b2b7856520daba393370f67b773c2184 (patch) | |
tree | ac5b63574a95d0d851e012957254f7456ced564f /community-testing/librep | |
parent | 5233daa5825f00ccf0722ef9733ea6b3bbd44bc8 (diff) |
Sat Apr 28 00:01:35 UTC 2012
Diffstat (limited to 'community-testing/librep')
-rw-r--r-- | community-testing/librep/PKGBUILD | 35 | ||||
-rw-r--r-- | community-testing/librep/librep.install | 18 |
2 files changed, 53 insertions, 0 deletions
diff --git a/community-testing/librep/PKGBUILD b/community-testing/librep/PKGBUILD new file mode 100644 index 000000000..7885d3d71 --- /dev/null +++ b/community-testing/librep/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 69946 2012-04-26 21:35:09Z allan $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: stefan-husmann@t-online.de +# Contributor: Juergen Hoetzel <juergen@archlinux.org> + +pkgname=librep +pkgver=0.92.2 +pkgrel=2 +pkgdesc="Lisp system for Sawfish" +license=('GPL2') +arch=('x86_64' 'i686') +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") +sha256sums=('a54422b42a34bc9d659130b83d2315ae3c3cb74ab6c2a6052459011d05f38740') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --disable-static \ + --prefix=/usr \ + --libexecdir="/usr/lib/$pkgname" \ + --with-readline + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: 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 +} |