# $Id: PKGBUILD 136462 2015-07-06 13:42:53Z speps $ # Maintainer (Arch): speps # Contributor (Arch): Alexander Fehr # Contributor (Arch): dorphell # Maintainer: André Silva # Contributor: Aditya Som " pkgname=sylpheed pkgver=3.4.3 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=('3a7d10b68017988b48e5c2a27e559e98' '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 }