summaryrefslogtreecommitdiff
path: root/nonprism/sylpheed/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/sylpheed/PKGBUILD')
-rw-r--r--nonprism/sylpheed/PKGBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/nonprism/sylpheed/PKGBUILD b/nonprism/sylpheed/PKGBUILD
new file mode 100644
index 000000000..5f1b17321
--- /dev/null
+++ b/nonprism/sylpheed/PKGBUILD
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 113099 2014-06-13 15:15:18Z speps $
+# Maintainer (Arch): speps <speps at aur dot archlinux dot org>
+# Contributor (Arch): Alexander Fehr <pizzapunk gmail com>
+# Contributor (Arch): dorphell <dorphell@archlinux.org>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Aditya Som <icarious@hacari.org>"
+
+pkgname=sylpheed
+pkgver=3.4.2
+pkgrel=1.nonprism1
+pkgdesc="Lightweight and user-friendly e-mail client, without Gmail support"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://sylpheed.sraoss.jp/en/"
+license=('GPL')
+replaces=(${pkgname}-nonprism)
+conflicts=(${pkgname}-nonprism)
+depends=('compface' 'gpgme' 'gtkspell' 'desktop-file-utils')
+makedepends=('openssl')
+install="$pkgname.install"
+source=("http://sylpheed.sraoss.jp/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
+ 'nonprism.patch')
+md5sums=('d4e53489763ff2cb575ab02890d91dc9'
+ 'e1bddc14962e607cdb899ec082660639')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # Remove Gmail support
+ patch -Np1 -i "$srcdir/nonprism.patch"
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --enable-ldap
+ make
+
+ # Build Attachment-Tool Plug-in
+ cd plugin/attachment_tool && make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir/" install
+
+ # Install Attachment-Tool Plug-in
+ cd plugin/attachment_tool
+ make DESTDIR="$pkgdir/" install-plugin
+}