summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1de6167965b5630b8e7c4e242067705858ef3339 (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
# Maintainer: Kian Kasad <kian at kasad.com>

pkgname=isync-config-patched
_pkgname=isync
pkgver=1.4.4
pkgrel=3
pkgdesc="IMAP and MailDir mailbox synchronizer - with xdg-compliant config location"
arch=('x86_64')
url="http://isync.sourceforge.net"
license=('GPL2')
depends=('libsasl' 'zlib' 'db')
conflicts=('isync')
provides=('isync')
source=(https://downloads.sourceforge.net/project/isync/isync/$pkgver/$_pkgname-$pkgver.tar.gz
        https://downloads.sourceforge.net/project/isync/isync/$pkgver/$_pkgname-$pkgver.tar.gz.asc
        openssl3-fix-b6c36624.patch
        isync-xdgconfig.diff)
md5sums=('29acced5c6f0c87e631b0ff641f8f942'
         'SKIP'
         'f4a24aa4cff6634ba00b7aae3f65bb9e'
         '554e0cf7302565f1a76a88e16e4cdb2a')
validpgpkeys=('96DD32BFBF9FAB04B0D95305AA283E0B2F1BB1D1'
              '63BFD037CAD71E8DFF3AEA3AC17714F08D1BDBBA')

prepare() {
    cd $_pkgname-$pkgver

    patch -N -p1 -i ../openssl3-fix-b6c36624.patch
    patch -p1 -i ../isync-xdgconfig.diff
}

build() {
  cd $_pkgname-$pkgver

  ./configure --prefix=/usr

  make
}

package() {
  cd $_pkgname-$pkgver

  make DESTDIR="$pkgdir" install
}

# vim: ts=8 sts=4 sw=4 et