updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / plptools / PKGBUILD
bloba4649b0554c5a15420014a4d1b6b504b5a25b451
1 # Maintainer: Markus Heidelberg <markus dot heidelberg at web dot de>
2 pkgname=plptools
3 pkgver=1.0.11
4 pkgrel=2
5 pkgdesc="Utilities for communication with EPOC PDAs, e.g. mounting via FUSE"
6 arch=('i686' 'x86_64')
7 url="http://plptools.sourceforge.net/"
8 license=('GPL2')
9 depends=('fuse')
10 backup=(etc/conf.d/plptools)
11 source=(http://downloads.sourceforge.net/project/plptools/plptools/1.0.11/plptools-1.0.11.tar.gz
12         plpfuse-x86_64.patch
13         plptools.rcd
14         plptools.confd)
15 md5sums=('4779b5dc0a3de3bafbd26350ce0087d4'
16          '424867fe9ea319820356c948923fa3ae'
17          '7a34e878b9a431cd1c9c3d63fd78edde'
18          '084277c3392195c8c49d11c8b1e69c9a')
20 build() {
21   cd ${srcdir}/${pkgname}-${pkgver}
22   patch -p1 < $srcdir/plpfuse-x86_64.patch
23   ./configure --prefix=/usr --with-initdir=/etc/rc.d
24   make
27 package() {
28   cd ${srcdir}/${pkgname}-${pkgver}
29   make DESTDIR=$pkgdir install
30   rm $pkgdir/usr/lib/*.la
31   install -Dm644 $srcdir/plptools.confd $pkgdir/etc/conf.d/plptools
32   install -Dm755 $srcdir/plptools.rcd $pkgdir/etc/rc.d/plptools