summaryrefslogtreecommitdiff
path: root/community/sylpheed
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/sylpheed
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/sylpheed')
-rw-r--r--community/sylpheed/PKGBUILD37
-rw-r--r--community/sylpheed/sylpheed.install11
2 files changed, 48 insertions, 0 deletions
diff --git a/community/sylpheed/PKGBUILD b/community/sylpheed/PKGBUILD
new file mode 100644
index 000000000..31b2dd46d
--- /dev/null
+++ b/community/sylpheed/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 79631 2012-11-09 11:59:26Z 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.3.0
+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.3/$pkgname-$pkgver.tar.bz2")
+md5sums=('20442f81dbb4e7c59462360ad0bb1afb')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./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
+}