updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / popper / PKGBUILD
blob8fb9a67c66d6b3cb50eb05bfa35dadc0597f2968
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=popper
3 pkgver=0.30.2
4 pkgrel=1
5 pkgdesc="Reads the new emails from POP3 and IMAP email servers and notifies about the number, subject, sender and time of new emails in the indicator applet and via a notification bubble"
6 arch=('any')
7 url="https://launchpad.net/popper"
8 license=('GPL')
9 depends=('python-gnomekeyring' 'python-notify' 'libindicate')
10 true && depends=('python-gnomekeyring' 'python-notify' 'libindicate-gtk2')
11 source=(https://launchpad.net/~ralf.hersel/+archive/rhersel-ppa/+files/${pkgname}_$pkgver.orig.tar.gz)
12 md5sums=('ec49c58bd7d9b96994e43cd96d28d776')
14 build() {
15   cd "$srcdir/${pkgname}_$pkgver"
16   sed -i 's@#!.*python@#!/usr/bin/python2@' popper/popper{,_config,_list}.py
17   sed -i 's@python @python2 @' popper/popper{,_config}.sh
20 package() {
21   cd "$srcdir/${pkgname}_$pkgver"
23   mkdir -p "$pkgdir/usr/share"
24   cp -r popper locale applications "$pkgdir/usr/share"