aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD39
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..f640ace
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 14:54:23 UTC 2015
+pkgbase = isync-git
+ pkgdesc = IMAP mail synchronizer for offline/batch mail editing
+ pkgver = 1.2.0.r651.f377e7b
+ pkgrel = 1
+ url = http://isync.sourceforge.net
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = perl-timedate
+ depends = openssl
+ depends = libsasl
+ depends = cyrus-sasl-gssapi
+ conflicts = isync
+ replaces = isync
+ source = git://git.code.sf.net/p/isync/isync
+ sha256sums = SKIP
+
+pkgname = isync-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..af8d0c0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+pkgname=isync-git
+pkgver=1.2.0.r651.f377e7b
+pkgrel=1
+
+pkgdesc="IMAP mail synchronizer for offline/batch mail editing"
+url="http://isync.sourceforge.net"
+arch=('i686' 'x86_64')
+license=('GPL')
+
+conflicts=('isync')
+replaces=('isync')
+
+depends=('openssl' 'libsasl' 'cyrus-sasl-gssapi')
+makedepends=('perl-timedate')
+
+source=('git://git.code.sf.net/p/isync/isync')
+
+sha256sums=('SKIP')
+
+pkgver() {
+ cd isync
+ echo $(grep -m 1 -o -E "[0-9.]*" configure.ac)'.r'$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+prepare() {
+ cd isync
+ ./autogen.sh
+}
+
+build() {
+ cd isync
+ ./configure --prefix=/usr --with-sasl=/usr/lib/sasl2
+ make
+}
+
+package() {
+ cd isync
+ make DESTDIR="$pkgdir" install
+}