diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-27 04:38:22 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-27 04:39:29 -0300 |
commit | 1a26253780ac2b8067e25422bc729cf96375bffd (patch) | |
tree | 93d442d8a1a89ca4fe19505506d4eab354cef132 /pcr/postler | |
parent | 0fbe30cf031762e6da5cf1a3176649654bc5e483 (diff) |
move all pkgs from [elementary] to [pcr]
Diffstat (limited to 'pcr/postler')
-rw-r--r-- | pcr/postler/PKGBUILD | 28 | ||||
-rw-r--r-- | pcr/postler/postler.install | 12 |
2 files changed, 40 insertions, 0 deletions
diff --git a/pcr/postler/PKGBUILD b/pcr/postler/PKGBUILD new file mode 100644 index 000000000..b5d624895 --- /dev/null +++ b/pcr/postler/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer (Arch): Kosava <kosava@archlinux.us> + +pkgname=postler +pkgver=0.1.1 +pkgrel=2 +pkgdesc="Postler is simple desktop mail client built in vala" +arch=('i686' 'x86_64' 'mips64el') +url="https://launchpad.net/postler" +license=('GPL') +depends=('libwebkit' 'libunique' 'libcanberra' 'libnotify') +makedepends=('vala-010' 'intltool' 'librsvg' 'gettext' 'python2' 'msmtp') +optdepends=('dexter: provides contact completion' + 'lynx: enables HTML to text conversion' + 'libindicate: raise flags on dbus for other components of the desktop') +install="postler.install" +source=(http://git.xfce.org/apps/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2 $pkgname.install) +md5sums=('02e502c9f4a4b92e4ace32d9e268f06d' + '7541710086c2b4f45da7268c137ed708') + +build() { + cd $srcdir/$pkgname-$pkgver + export VALAC="/opt/vala-0.10/bin/valac" + msg "Patching the buildscript to use python2..." + sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|g" waf + ./waf configure --prefix=/usr --disable-libindicate + ./waf build + ./waf --destdir=$pkgdir install +} diff --git a/pcr/postler/postler.install b/pcr/postler/postler.install new file mode 100644 index 000000000..709ad81f2 --- /dev/null +++ b/pcr/postler/postler.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |