summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ef49a2fe3444aee816a1bedf0cfa8657323273f6 (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
pkgname=libvmime-git
pkgver=1
pkgrel=1
pkgdesc="A C++ class library for working with MIME messages"
arch=('x86_64' 'i686')
url="http://www.vmime.org/"
license=('GPL')
depends=('gsasl' 
	 'gnutls')
makedepends=('cmake')
source=("git://github.com/kisli/vmime")
conflicts=('zarafa-libvmime')
replaces=('zarafa-libvmime')
md5sums=('SKIP')

prepare() {
  mkdir build
}

build() {
  cd build

  cmake ../vmime \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DLIB_INSTALL_DIR=/usr/lib/ \
    -DCMAKE_BUILD_TYPE=Release

  make
}

package() {
  cd 'build'

  make DESTDIR="$pkgdir" install
}