updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / pombo / PKGBUILD
blobd63aa490343cb264324cde84bc4f310d7e7650fd
1 # Maintainer: Antoine Lubineau <antoine@lubignon.info>
3 pkgname=pombo
4 pkgver=0.0.6
5 pkgrel=3
6 pkgdesc="A script that can help you recover your computer if it is stolen"
7 arch=('i686' 'x86_64')
8 url="http://sebsauvage.net/pombo/"
9 license=('zlib' 'libpng')
10 depends=('gnupg' 'python2')
11 optdepends=(
12   'iputils: retrieve information on network neighborhood'
13   'pngnq: better compression of screenshots'
14   'scrot: take screenshots of your running desktop'
15   'xawtv: take a photo using your webcam'
17 backup=('etc/pombo.conf')
18 source=("http://sebsauvage.net/${pkgname}/${pkgname}_${pkgver}.zip")
19 md5sums=('414c2d5a964a2770ce9e83fd9b6cd4c6')
20 sha1sums=('e752dca59338da58794967f1f7d795dd8af791e7')
21 sha256sums=('bdd888a2662827960ba1419457f2c82fc224d2c6e65b5ad50c724c0f6d9b2a70')
22 sha384sums=('7ba959a9edd8f1fb120ca21132b7f557efea55009aed64c3ab75b6368e5ec6f55f2f3688754ec94e1ecc2a6fc06dc2a6')
23 sha512sums=('4c78c92ac520983d6c96c3fea36896e24efdf9cc4c9a1e3937612eef9014410ebdf0b37ce348b4b337f64a9342eee62b1dff8b8a73607428092c576118199d19')
25 package() {
26   cd "$srcdir/${pkgname}_$pkgver"
28   msg "Patching pombo..."
29   sed 's|/sbin/iwconfig|/usr/sbin/iwconfig|' -i pombo.py
31   install -Dm644 pombo.conf $pkgdir/etc/pombo.conf
32   install -D pombo.py $pkgdir/usr/bin/pombo
34   msg "Configure Pombo by editing /etc/pombo.conf"
35   msg "Put $srcdir/${pkgname}_$pkgver/pombo.php4 or $srcdir/${pkgname}_$pkgver/pombo.php5 on your server after changing the password"
36   msg "See installation instruction on http://sebsauvage.net/pombo/installation.html"