updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / backup-gmail / PKGBUILD
blob19bfbf14661ad02d157596b6e6fce508a1e69f5e
1 # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
2 pkgname=backup-gmail
3 pkgver=0.1.2.1
4 pkgrel=1
5 pkgdesc="CLI and GUI interface to backup and restore Gmail data via IMAP"
6 arch=('any')
7 url="https://launchpad.net/backup-gmail"
8 license=('GPL3')
9 depends=('python2')
10 optdepends=('pyside: GUI')
11 backup=()
12 options=()
13 install=
14 source=(http://launchpad.net/backup-gmail/trunk/backup-gmail-0.1/+download/$pkgname-$pkgver.tar.gz)
15 md5sums=('3e4290ca08119445426633693638943d')
17 build() {
18   cd "$srcdir/$pkgname"
19   sed -i 's|^#!/usr/bin/python|&2|' *.py
22 package() {
23   cd "$srcdir/$pkgname"
24   install -d -m755 "$pkgdir"/usr/bin
25   install -m755 backup_gmail.py "$pkgdir"/usr/bin/backup_gmail.py
26   install -m755 gui.py "$pkgdir"/usr/bin/backup_gmail_gui
29 # vim:set ts=2 sw=2 et: