summaryrefslogtreecommitdiff
path: root/nonprism/sylpheed/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 01:57:36 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 01:57:36 -0300
commit0be822175bb3cef0534b9a0597e84ae1ee6374ec (patch)
treec9a4fb91c61309280fd8201c7cb52789ce02a7c6 /nonprism/sylpheed/PKGBUILD
parent468e115b1432c745ce9ccf06d2fcca6b3cfb7227 (diff)
remove nonprism suffix and add complex pkgrel on nonprism packages
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
+}