diff options
author | root <root@rshg054.dnsready.net> | 2011-09-11 23:14:33 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-11 23:14:33 +0000 |
commit | 1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 (patch) | |
tree | 4f22b6f4f4737987b4eec85fbc027684f209df2e /extra/libytnef/PKGBUILD | |
parent | 1dc1efa50ce9926a6ed832bda2ebe3319485ac09 (diff) |
Sun Sep 11 23:14:33 UTC 2011
Diffstat (limited to 'extra/libytnef/PKGBUILD')
-rw-r--r-- | extra/libytnef/PKGBUILD | 19 |
1 files changed, 12 insertions, 7 deletions
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 <jgc@archlinux.org> # Contributor: Andre Klitzing <aklitzing () online () de> + 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" } |