updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / gtksetpwc / PKGBUILD
blob4446c55626b2a3b0832c3e07dbd0f36eaad9e036
1  
2 # Contributor: Emile Pesik <this.id.was.still.free at gmail dot com>
4 pkgname=gtksetpwc
5 pkgver=0.2
6 pkgrel=1
7 pkgdesc="GTK2 frontend for setpwc"
8 arch=('i686' 'x86_64')
9 url="http://gtksetpwc.spiderou.net/"
10 license=('custom:"CeCILL"')
11 depends=('setpwc' 'perl' 'gtk2-perl')
12 makedepends=()
13 optdepends=()
14 provides=()
15 conflicts=()
16 replaces=()
17 backup=()
18 options=()
19 install=
20 source=("http://gtksetpwc.spiderou.net/files/$pkgname-$pkgver.tar.bz2"
21 "http://gtksetpwc.spiderou.net/files/webcam.png"
22 'gtksetpwc.desktop')
23 noextract=()
24 md5sums=('a2c8bc1e990632ecf8c5df3b2313d069'  # tarball
25          '76f6153d38d87b53bed8d19c9947d6fe'  # webcam.png
26          '0ed9dcbf01784d40b9328ecdfe508e4e') # gtksetpwc.desktop
27                   
28 build() {
29     # install binary
30     install -Dm755 "$srcdir/$pkgname/gtksetpwc.pl" \
31         "$pkgdir/usr/bin/gtksetpwc.pl" || return 1
33     # install desktop files
34     install -Dm644 "$srcdir/gtksetpwc.desktop" \
35         "$pkgdir/usr/share/applications/gtksetpwc.desktop" || return 1
36     install -Dm644 "$srcdir/webcam.png" \
37         "$pkgdir/usr/share/pixmaps/gtksetpwc.png" || return 1
39     # install license files
40     install -Dm644 "$srcdir/$pkgname/LICENCE.EN" \
41         "$pkgdir/usr/share/licenses/$pkgname/LICENCE.EN" || return 1
42     install -Dm644 "$srcdir/$pkgname/LICENCE.FR" \
43         "$pkgdir/usr/share/licenses/$pkgname/LICENCE.FR" || return 1