From c9c71d29263fd54eb93d4382781becbd865dffe4 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 6 Sep 2011 02:05:10 -0300 Subject: social/libowfat-0.28-4 --- social/libowfat/PKGBUILD | 29 +++++++++++++++++++++++++++++ social/libowfat/libowfat.install | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 social/libowfat/PKGBUILD create mode 100644 social/libowfat/libowfat.install diff --git a/social/libowfat/PKGBUILD b/social/libowfat/PKGBUILD new file mode 100644 index 000000000..ea43adfab --- /dev/null +++ b/social/libowfat/PKGBUILD @@ -0,0 +1,29 @@ +# Contributors: +# Alexander Ulrich +# Mildred +# henning mueller + +pkgname=libowfat +pkgver=0.28 +pkgrel=4 +pkgdesc='GPL reimplementation of libdjb' +arch=(i686 x86_64) +url=http://www.fefe.de/libowfat/ +depends=() +license=(GPL) +install=libowfat.install +source=(http://dl.fefe.de/$pkgname-$pkgver.tar.bz2) +md5sums=(6bbee9a86506419657d87123b7a6f2c1) + +build() { + cd $srcdir/$pkgname-$pkgver + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr/ LIBDIR=$pkgdir/usr/lib MAN3DIR=$pkgdir/usr/share/man/man3 install + + cd $pkgdir/usr/share/man/man3 + mv buffer.3 buffer-libowfat.3 +} diff --git a/social/libowfat/libowfat.install b/social/libowfat/libowfat.install new file mode 100644 index 000000000..a08aef10c --- /dev/null +++ b/social/libowfat/libowfat.install @@ -0,0 +1,39 @@ +# This is a default template for a post-install scriptlet. You can +# remove any functions you don't need (and this header). + +# arg 1: the new package version +pre_install() { + /bin/true +} + +# arg 1: the new package version +post_install() { + echo "The manpage buffer(3) was moved to buffer-libowfat(3) because + it conflicts with package openssl" +} + +# arg 1: the new package version +# arg 2: the old package version +pre_upgrade() { + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + /bin/true +} + +# arg 1: the old package version +pre_remove() { + /bin/true +} + +# arg 1: the old package version +post_remove() { + /bin/true +} + +op=$1 +shift +$op $* -- cgit v1.2.3