updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libdbx / PKGBUILD
blobfdbf60733e8bc159abb811f75a6185f1de851a32
1 # Maintainer: Heiko Baums <heiko@baums-on-web.de>
3 pkgname=libdbx
4 pkgver=1.0.4
5 pkgrel=3
6 pkgdesc="Tools and library for reading Outlook Express mailboxes (.dbx format)"
7 arch=(i686 x86_64)
8 url="http://sourceforge.net/projects/ol2mbox"
9 license=('GPL')
10 source=(http://downloads.sourceforge.net/project/ol2mbox/LibDBX/v$pkgver/$pkgname\_$pkgver.tar.gz)
11 md5sums=('65e1b1ad93560d9c487cbabb4a558a4e')
13 build() {
14   cd $srcdir
15   sed -i "s/-g/${CFLAGS}/" Makefile
16   make
19 package () {
20   cd $srcdir
21   install -D -m755 $srcdir/readoe $pkgdir/usr/bin/readoe
22   install -D -m755 $srcdir/readdbx $pkgdir/usr/bin/readdbx
23   install -D -m644 $srcdir/libdbx.h $pkgdir/usr/include/libdbx.h
24   install -D -m644 $srcdir/libdbx++.h $pkgdir/usr/include/libdbx++.h
25   install -D -m644 $srcdir/libdbx.o $pkgdir/usr/lib/libdbx.o