2 # Contributor: Emile Pesik <this.id.was.still.free at gmail dot com>
7 pkgdesc="GTK2 frontend for setpwc"
9 url="http://gtksetpwc.spiderou.net/"
10 license=('custom:"CeCILL"')
11 depends=('setpwc' 'perl' 'gtk2-perl')
20 source=("http://gtksetpwc.spiderou.net/files/$pkgname-$pkgver.tar.bz2"
21 "http://gtksetpwc.spiderou.net/files/webcam.png"
24 md5sums=('a2c8bc1e990632ecf8c5df3b2313d069' # tarball
25 '76f6153d38d87b53bed8d19c9947d6fe' # webcam.png
26 '0ed9dcbf01784d40b9328ecdfe508e4e') # gtksetpwc.desktop
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