From 1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Sep 2011 23:14:33 +0000 Subject: Sun Sep 11 23:14:33 UTC 2011 --- extra/libytnef/PKGBUILD | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'extra/libytnef/PKGBUILD') diff --git a/extra/libytnef/PKGBUILD b/extra/libytnef/PKGBUILD index 8a48bb88e..5516bb5ee 100644 --- a/extra/libytnef/PKGBUILD +++ b/extra/libytnef/PKGBUILD @@ -1,22 +1,27 @@ # $Id: $ # Maintainer: Jan de Groot # Contributor: Andre Klitzing + pkgname=libytnef pkgver=1.5 -pkgrel=2 +pkgrel=3 pkgdesc="Yerase's TNEF Stream Reader library (decode winmail.dat)" url="http://freshmeat.net/projects/ytnef/" license=('GPL') -arch=(i686 x86_64) -options=(!libtool) +arch=('i686' 'x86_64') +options=('!libtool') depends=('glibc') -source=(http://downloads.sourceforge.net/ytnef/${pkgname}-${pkgver}.tar.gz) +source=("http://downloads.sourceforge.net/ytnef/${pkgname}-${pkgver}.tar.gz") md5sums=('6c44b955f33cf714c75a7bbe895cc352') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --disable-static || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + ./configure --prefix=/usr --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install rm -f "${pkgdir}/usr/lib/libytnef.a" } -- cgit v1.2.3-54-g00ecf