updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / wilink / PKGBUILD
blob823136a20b86df1369eeccff3a485996933a1ac9
1 # Maintainer: Spike29 <leguen.yannick@gmail.com>
2 # Contributor: Jeremy Laine <jeremy.laine@bolloretelecom.eu>
3 # Contributor: SpepS <dreamspepser at yahoo dot it>
5 _pkg=wiLink
6 pkgname=wilink
7 pkgver=2.1.0
8 pkgrel=3
9 pkgdesc="A Wifirst application for Instant communications"
10 arch=('i686' 'x86_64')
11 url="http://opensource.wifirst.net/projects/wilink/"
12 license=('GPL3')
13 groups=
14 provides=
15 depends=('qt>=4.7.0' 'libgnome-keyring' 'libmad' 'speex' 'libvorbis' 'libtheora' 'libvpx' 'libxss' 'libnotify' 'libgphoto2')
16 optdepends=
17 makedepends=('cmake>=2.8.1')
18 conflicts=
19 replaces=
20 backup=
21 install="$pkgname.install"
22 source=(http://dl.dropbox.com/u/4199602/wiLink-2.1.0.tar.gz)
23 md5sums=('2aa4b446fbc3b72de7515320f0f30226')
25 build() {
26 cd "$srcdir/$_pkg-$pkgver"
27 [ -d build] || mkdir build && cd build
28 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
29 make
32 package() {
33 cd "$srcdir/$_pkg-$pkgver/build"
34 make DESTDIR="$pkgdir/" install
36  # desktop file
37 install -Dm644 ../src/data/$_pkg.desktop \
38     "$pkgdir/usr/share/applications/$pkgname.desktop"
40   # icon
41 install -Dm644 ../src/data/$_pkg-64.png \
42     "$pkgdir/usr/share/pixmaps/$_pkg.png"