summaryrefslogtreecommitdiff
path: root/extra/pilot-link/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-17 03:23:13 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-17 03:23:13 +0000
commitd9e3d7066ad07c8dd884792dd90fecb9f5971ab2 (patch)
tree576dd0e595b65810f7f19ae8b9e9617a52831dec /extra/pilot-link/PKGBUILD
parentc78a18750fc2b9df6ea94089159f4176a1f9198d (diff)
Thu Apr 17 03:20:20 UTC 2014
Diffstat (limited to 'extra/pilot-link/PKGBUILD')
-rw-r--r--extra/pilot-link/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/extra/pilot-link/PKGBUILD b/extra/pilot-link/PKGBUILD
new file mode 100644
index 000000000..e153dea78
--- /dev/null
+++ b/extra/pilot-link/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 198370 2013-10-30 14:27:24Z allan $
+# Maintainer: dale <dale@archlinux.org>
+
+# 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=5
+pkgdesc="A suite of tools for connecting to PalmOS handheld devices"
+arch=(i686 x86_64)
+license=('GPL' 'LGPL')
+depends=('readline>=6.0' 'libpng>=1.6.0' 'libusb-compat' 'popt' 'bluez-libs')
+url="http://www.pilot-link.org/"
+source=(http://downloads.pilot-link.org/${pkgname}-${pkgver}.7z{,.asc}
+ pilot-link-png14.patch)
+md5sums=('cd409c09b93654f0fc45015a7fc17b2c'
+ 'SKIP'
+ 'a21a2eeb01544a8a261a75e64a3120c3')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -Np1 -i "${srcdir}/pilot-link-png14.patch"
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --enable-conduits --enable-libusb \
+ --with-libiconv --with-libpng --disable-static
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}