summaryrefslogtreecommitdiff
path: root/pcr/libowfat
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/libowfat')
-rw-r--r--pcr/libowfat/PKGBUILD30
-rw-r--r--pcr/libowfat/libowfat.install39
2 files changed, 69 insertions, 0 deletions
diff --git a/pcr/libowfat/PKGBUILD b/pcr/libowfat/PKGBUILD
new file mode 100644
index 000000000..a51638450
--- /dev/null
+++ b/pcr/libowfat/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributors:
+# Alexander Ulrich <a.ulrich@student.uni-tuebingen.de>
+# Mildred <silkensedai@online.fr>
+# henning mueller <henning@orgizm.net>
+
+pkgname=libowfat
+pkgver=0.29
+pkgrel=3
+pkgdesc='GPL reimplementation of libdjb'
+arch=(i686 x86_64 mips64el)
+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
+}
+md5sums=('1187c6acf11429e7adb9ebe180f644bb')
diff --git a/pcr/libowfat/libowfat.install b/pcr/libowfat/libowfat.install
new file mode 100644
index 000000000..a08aef10c
--- /dev/null
+++ b/pcr/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 $*