summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a05e46d93809d44d24661053a34581022acf2dc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Parker Reed <parker.l.reed@gmail.com>
# Maintainer: dale <dale@archlinux.org>

pkgname=pilot-link
pkgver=0.12.5
pkgrel=2
pkgdesc="A suite of tools for connecting to PalmOS handheld devices"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
license=('GPL' 'LGPL')
depends=('readline>=6.0' 'libpng>=1.4.0' 'libusb-compat' 'popt' 'bluez>=4.59')
options=('!libtool')
url=http://www.pilot-link.org/
source=(https://mirrors.slackware.com/slackware/slackware-14.1/source/l/pilot-link/$pkgname-$pkgver.tar.bz2
        pilot-link-png14.patch
        config.guess
        config.sub)
md5sums=('568c55bf504b044f6fbd50baa407c990'
         'a21a2eeb01544a8a261a75e64a3120c3'
         '56c8530a22f26cdae7c9b5e946c06429'
         '190c5eaf225abd14513d768efc5073eb')

build() {
  cp config.* "${srcdir}/${pkgname}-${pkgver}/"
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np1 -i "${srcdir}/pilot-link-png14.patch"
  ./configure --prefix=/usr --enable-conduits --enable-libusb \
    --with-libiconv --with-libpng
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}