1 # Contributor: Nathanael Moore <darkmeerkat@gmail.com>
6 pkgdesc="Several utilities that convert text files in CSV (comma-separated value) format to several flat-file database formats used on PalmOS PDAs and back again"
8 url="http://pilot-db.sourceforge.net/"
10 depends=('glibc' 'libstdc++5')
12 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-0_3_6.tar.gz" 'Block.h.patch' 'File.h.patch')
13 md5sums=('483d2b18dcc2ef8cd5f7e27715d43bfe' '07cb5e32d65b66894fe80d101c9c4339' '405780a1528258160f09bd77acf3b524')
16 patch -Np0 -iBlock.h.patch $startdir/src/$pkgname/libpalm/Block.h || return 1
17 patch -Np0 -iFile.h.patch $startdir/src/$pkgname/libpalm/File.h || return 1
18 cd $startdir/src/$pkgname
19 ./configure --prefix=/usr
21 install -m755 -D $startdir/src/$pkgname/flatfile/csv2pdb $startdir/pkg/usr/bin/csv2pdb
22 install -m755 -D $startdir/src/$pkgname/flatfile/pdb2csv $startdir/pkg/usr/bin/pdb2csv
23 install -m755 -D $startdir/src/$pkgname/flatfile/libpdbtools.so $startdir/pkg/usr/lib/libpdbtools.so