blob: 7be7bb37000ea8048d1eb3b6df9d2cb7c21c4966 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Andre Klitzing <aklitzing () online () de>
pkgname=libytnef
pkgver=1.5
pkgrel=2
pkgdesc="Yerase's TNEF Stream Reader library (decode winmail.dat)"
url="http://freshmeat.net/projects/ytnef/"
license=('GPL')
arch=(i686 x86_64 'mips64el')
options=(!libtool)
depends=('glibc')
source=("http://downloads.sourceforge.net/ytnef/${pkgname}-${pkgver}.tar.gz"
'config.guess'
'config.sub')
md5sums=('6c44b955f33cf714c75a7bbe895cc352'
'fad4f4cc5caad203dee58165a1412b80'
'7905ae2a747db79964eb9a1693a15c2b')
build() {
# Install updated config.guess and config.sub
cp "$srcdir/config.guess" "$srcdir/config.sub" "$srcdir/${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --disable-static || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -f "${pkgdir}/usr/lib/libytnef.a"
}
|