summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--social/libowfat/PKGBUILD29
-rw-r--r--social/libowfat/libowfat.install39
2 files changed, 68 insertions, 0 deletions
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 <a.ulrich@student.uni-tuebingen.de>
+# Mildred <silkensedai@online.fr>
+# henning mueller <henning@orgizm.net>
+
+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 $*