From f0d152ea0fe92423f39a487e97908d409f98047b Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 20 Aug 2009 19:20:36 +0200 Subject: some updates again --- libowfat/PKGBUILD | 21 +++++++++++++++++++++ libowfat/libowfat.install | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 libowfat/PKGBUILD create mode 100644 libowfat/libowfat.install (limited to 'libowfat') diff --git a/libowfat/PKGBUILD b/libowfat/PKGBUILD new file mode 100644 index 0000000..6b3dffe --- /dev/null +++ b/libowfat/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: Alexander Ulrich +# Update: Mildred +# Update: henning mueller +pkgname=libowfat +pkgver=0.28 +pkgrel=1 +pkgdesc="GPL reimplementation of libdjb" +arch=(i686 x86_64) +url=http://www.fefe.de/libowfat/ +license=(GPL) +install=libowfat.install +source=(http://dl.fefe.de/$pkgname-$pkgver.tar.bz2) +md5sums=(6bbee9a86506419657d87123b7a6f2c1) + +build() { + cd $startdir/src/$pkgname-$pkgver/ + make DIET= || return 1 + make prefix=$startdir/pkg/usr/ LIBDIR=$startdir/pkg/usr/lib install + cd $startdir/pkg/usr/man/man3 + mv buffer.3 buffer-libowfat.3 +} diff --git a/libowfat/libowfat.install b/libowfat/libowfat.install new file mode 100644 index 0000000..a08aef1 --- /dev/null +++ b/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-24-g4f1b