summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGianluca Montecchi2017-04-19 20:45:51 +0200
committerGianluca Montecchi2017-04-19 20:45:51 +0200
commit9a8d3bb8918d796da63eaa7469c4f4e668c668d9 (patch)
tree24778e2ad10bff51367e985522613889f0bcbdb0
downloadaur-libvmime.tar.gz
Initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD40
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1c10ea28c64
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Wed Apr 19 18:44:42 UTC 2017
+pkgbase = libvmime
+ pkgdesc = An open source solution for working with MIME messages and Internet messaging services like IMAP, POP or SMTP.
+ pkgver = 0.9.2
+ pkgrel = 1
+ url = http://www.vmime.org/
+ arch = any
+ license = GPL
+ makedepends = cmake
+ depends = gsasl
+ depends = gnutls
+ depends = exim
+ conflicts = zarafa-libvmime
+ conflicts = libvmime-git
+ replaces = zarafa-libvmime
+ replaces = libvmime-git
+ source = https://github.com/kisli/vmime/archive/v0.9.2.tar.gz
+ md5sums = 64ea8fad39df20f7bf32573ee37f4a6f
+
+pkgname = libvmime
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9251c97c7af
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Gianluca Montecchi <gian@grys.it>
+
+pkgname=libvmime
+pkgver=0.9.2
+pkgrel=1
+pkgdesc="An open source solution for working with MIME messages and Internet messaging services like IMAP, POP or SMTP."
+arch=(any)
+url="http://www.vmime.org/"
+license=('GPL')
+depends=('gsasl'
+ 'gnutls'
+ 'exim')
+makedepends=('cmake')
+conflicts=('zarafa-libvmime' 'libvmime-git')
+replaces=('zarafa-libvmime' 'libvmime-git')
+optdepends=()
+backup=()
+source=("https://github.com/kisli/vmime/archive/v$pkgver.tar.gz")
+md5sums=('64ea8fad39df20f7bf32573ee37f4a6f' )
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+
+ cmake ../vmime-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=/usr/lib/ \
+ -DCMAKE_BUILD_TYPE=Release
+
+ make
+}
+
+package() {
+ cd 'build'
+
+ make DESTDIR="$pkgdir" install
+}