summaryrefslogtreecommitdiff
path: root/extra/libmsn/PKGBUILD
blob: 123b51c6311ce16e63fefbbbf7860af3306044d1 (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
# $Id: PKGBUILD 144375 2011-12-05 12:44:46Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Charly Ghislain <charlyghislain@gmail.com>

pkgname=libmsn
pkgver=4.2.1
pkgrel=1
pkgdesc="A reusable, open-source, fully documented library for connecting to Microsoft's MSN"
url="http://sourceforge.net/projects/libmsn/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('openssl')
makedepends=('cmake')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
md5sums=('38e46e589720eefd71f92b6b76993bf0')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release
  make
}

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