1 # Contributor: Ray Blostein <rblostein [at] gmail.com>
5 pkgdesc="Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld."
6 url='http://www.netdirect.ca/software/packages/barry'
9 depends=('libusb' 'zlib' 'libglademm' 'libtar')
10 makedepends=('make' 'gcc' 'patch' 'pkg-config' 'autoconf' 'automake' 'libtool' 'gettext')
12 optdepends=('fuse: for bfuse')
13 conflicts=('barry-git')
14 source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
15 'tarfile-ops-nt.cc.patch')
17 md5sums=('645b2816c79584ac36f63ce69dbbfd24'
18 '1f808132b402c4ea68a0d1fc3f19142c')
22 cd $srcdir/$pkgname-$pkgver/src
23 patch -p0 < $srcdir/tarfile-ops-nt.cc.patch
26 cd $srcdir/$pkgname-$pkgver
27 ./configure --prefix=/usr --enable-gui
29 make DESTDIR=$pkgdir install
31 # Remove libtool files
32 find "$pkgdir/" -name "*.la" -exec rm {} \;