summaryrefslogtreecommitdiff
path: root/nonprism/sylpheed/PKGBUILD
blob: a8d6d9e0f10cfa8cbf485e25f2008bc29d1e1f02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# $Id$
# Maintainer: (Arch) David Runge <dave@sleepmap.de>
# Contributor (Arch): speps <speps at aur dot archlinux dot org>
# Contributor (Arch): Alexander Fehr <pizzapunk gmail com>
# Contributor (Arch): dorphell <dorphell@archlinux.org>
# Contributor: Andreas Grapentin <andreas@grapentin.org>
# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: Aditya Som <icarious@hacari.org>"

# parabola changes and rationale:
#  - removed gmail support

pkgname=sylpheed
pkgver=3.6.0
pkgrel=3.nonprism1
pkgdesc="Lightweight and user-friendly e-mail client, without Gmail support"
arch=('x86_64' 'i686' 'armv7h')
url="https://sylpheed.sraoss.jp/en/"
license=('GPL')
depends=('compface' 'gpgme' 'gtkspell')
makedepends=('openssl')
source=("https://sylpheed.sraoss.jp/${pkgname}/v${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
        "nonprism.patch")
sha512sums=('84c59e327690ed7e637e9ce60e630da6cdad771ccc278e31e490ed643da55c295fb47e999ad421fc59dbbcfed990882022b96cf478bd47253692d2e86279c591'
            'e6cafb0ca6ef417c923817e68a6d25cc8efc824a09d38ffc944a4a44a2c52dd5549a8a95544f50bfccb0096d0e71521da1ef69572e18dd31c583cfc242425848')

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
}