summaryrefslogtreecommitdiff
path: root/community/sylpheed
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-04 00:01:23 +0000
committerroot <root@rshg054.dnsready.net>2012-06-04 00:01:23 +0000
commit1e6588d64f084decf287a58b7ff93ff0ce4d0446 (patch)
tree29bf5b8778e1eb67871d9e6e8bb6e205bdde5db7 /community/sylpheed
parent80053e720288b6205a59c52c1b31c14a0f830989 (diff)
Mon Jun 4 00:01:23 UTC 2012
Diffstat (limited to 'community/sylpheed')
-rw-r--r--community/sylpheed/PKGBUILD41
-rw-r--r--community/sylpheed/sylpheed.install11
2 files changed, 52 insertions, 0 deletions
diff --git a/community/sylpheed/PKGBUILD b/community/sylpheed/PKGBUILD
new file mode 100644
index 000000000..e9bb68bf9
--- /dev/null
+++ b/community/sylpheed/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 71851 2012-06-02 10:42:33Z speps $
+# Maintainer: speps <speps at aur dot archlinux dot org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: dorphell <dorphell@archlinux.org>
+
+pkgname=sylpheed
+pkgver=3.1.4
+pkgrel=1
+pkgdesc="Lightweight and user-friendly e-mail client"
+arch=('i686' 'x86_64')
+url="http://sylpheed.sraoss.jp/en/"
+license=('GPL')
+depends=('gpgme' 'gtkspell' 'desktop-file-utils')
+makedepends=('compface' 'openssl')
+options=('!libtool')
+install="$pkgname.install"
+source=("http://sylpheed.sraoss.jp/$pkgname/v3.1/$pkgname-$pkgver.tar.bz2")
+md5sums=('4e0e41f05607e5c2542a7dfd166aee77')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # glib2 fix
+ sed -i 's/glibconfig/glib/' libsylph/defs.h
+
+ ./configure --prefix=/usr \
+ --enable-ldap
+ make
+
+ # Build Attachment-Tool Plug-in
+ cd plugin/attachment_tool && make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ # Install Attachment-Tool Plug-in
+ cd plugin/attachment_tool
+ make DESTDIR="$pkgdir/" install-plugin
+}
diff --git a/community/sylpheed/sylpheed.install b/community/sylpheed/sylpheed.install
new file mode 100644
index 000000000..e111ef946
--- /dev/null
+++ b/community/sylpheed/sylpheed.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}