summaryrefslogtreecommitdiff
path: root/extra/libytnef/PKGBUILD
blob: 5516bb5ee85a6fe6e5dc9c36e6559635cbcaca58 (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
# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Andre Klitzing <aklitzing () online () de>

pkgname=libytnef
pkgver=1.5
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')
depends=('glibc')
source=("http://downloads.sourceforge.net/ytnef/${pkgname}-${pkgver}.tar.gz")
md5sums=('6c44b955f33cf714c75a7bbe895cc352')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  rm -f "${pkgdir}/usr/lib/libytnef.a"
}