From 49eec46aeb12ce8e0d269ef9a04d48b64b0b5628 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 15 Feb 2013 20:59:24 -0500 Subject: Adding packages to pcr --- pcr/libowfat/PKGBUILD | 30 ++++++++++++++++++++++++++++++ pcr/libowfat/libowfat.install | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 pcr/libowfat/PKGBUILD create mode 100644 pcr/libowfat/libowfat.install (limited to 'pcr/libowfat') diff --git a/pcr/libowfat/PKGBUILD b/pcr/libowfat/PKGBUILD new file mode 100644 index 000000000..e2602046d --- /dev/null +++ b/pcr/libowfat/PKGBUILD @@ -0,0 +1,30 @@ +# Contributors: +# Alexander Ulrich +# Mildred +# henning mueller + +pkgname=libowfat +pkgver=0.29 +pkgrel=2 +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 $* -- cgit v1.2.2