diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/libmsn/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/libmsn/PKGBUILD')
-rw-r--r-- | extra/libmsn/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/libmsn/PKGBUILD b/extra/libmsn/PKGBUILD new file mode 100644 index 000000000..c62c80a19 --- /dev/null +++ b/extra/libmsn/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Charly Ghislain <charlyghislain@gmail.com> + +pkgname=libmsn +pkgver=4.1 +pkgrel=2 +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" + 'openssl1.patch') +md5sums=('769d3cf0e5625263fbc23321c1ddfcb0' + 'c8d7e2113d967a1d38a531e9fe8e7861') + +build() { + cd ${srcdir} + patch -Np0 -i ${srcdir}/openssl1.patch || return 1 + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release || return 1 + make || return 1 +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install +} |