summaryrefslogtreecommitdiff
path: root/community/kde4-kio-rapip/PKGBUILD
blob: f4464db90c056e9d0dd57e047e2b09fb4c8dee6d (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
# $Id: PKGBUILD 46077 2011-05-03 10:19:53Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: ReNoM <renom@list.ru>

pkgname=kde4-kio-rapip
pkgver=0.2
pkgrel=1
pkgdesc="KIOSlave to browse through the PDA file system via the SynCE infrastructure"
arch=(i686 x86_64 'mips64el')
url="http://synce.sourceforge.net/"
license="MIT"
depends=('kdelibs' 'synce-libsynce' 'synce-librapi')
makedepends=('gcc' 'cmake' 'automoc4')
install=kde4-kio-rapip.install
source=(http://downloads.sourceforge.net/synce/$pkgname-$pkgver.tar.gz)
md5sums=('94473e10e1b4dd6040c646a8c7421d0c')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR=$pkgdir install
  install -Dm0644 LICENSE $pkgdir/usr/share/licenses/kde4-kio-rapip/LICENSE
}