# $Id: PKGBUILD 70798 2010-03-01 11:49:16Z giovanni $ # Maintainer: dale # todo: add perl support, DESTDIR has no affect on perl # and it seems that moving the files manually doesn't work pkgname=pilot-link pkgver=0.12.5 pkgrel=1 pkgdesc="A suite of tools for connecting to PalmOS handheld devices" arch=(i686 x86_64) license=('GPL' 'LGPL') depends=('readline>=6.0' 'libpng>=1.4.0' 'libusb' 'popt' 'bluez>=4.59') options=('!libtool') url=http://www.pilot-link.org/ source=(http://downloads.pilot-link.org/${pkgname}-${pkgver}.tar.bz2 pilot-link-png14.patch) md5sums=('568c55bf504b044f6fbd50baa407c990' 'a21a2eeb01544a8a261a75e64a3120c3') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i "${srcdir}/pilot-link-png14.patch" || return 1 ./configure --prefix=/usr --enable-conduits --enable-libusb \ --with-libiconv --with-libpng || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 }