summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e959988dd8f28d61039bd187f3a1db095b963c65 (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
# Maintainer: plokid <wan_shiwen@outlook.com>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: Giorgio Lando <patroclo7@gmail.com>
# Contributor: Leslie P. Polzer <polzer@gnu.org>
# Contributor: Mark Pustjens <pustjens@dds.nl>
# Contributor: Tom Tobin <archlinux@tomxtobin.com>
# Contributor: Jean-Philippe Menil <jpmenil@gmail.com>

_pkgname=isync
pkgname=$_pkgname-git
pkgver=1.4.4.r218.g65cd442
pkgrel=1
pkgdesc="IMAP and MailDir mailbox synchronizer"
url="http://isync.sourceforge.net/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('libsasl' 'openssl')
makedepends=('git')
conflicts=('isync')
provides=('isync')
source=('git+https://git.code.sf.net/p/isync/isync')
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --tags --long | sed 's/^v//;s/-/.r/;s/-/./g'
}

prepare() {
  cd "$srcdir/$_pkgname"
  ./autogen.sh
}

build() {
  cd "$srcdir/$_pkgname"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$_pkgname"
  make DESTDIR="$pkgdir" install
}