blob: e64b58deef650b0ccb2717b6ff714bd2c5b76f4f (
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
|
# $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.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' 'mips64el')
license=('GPL2')
depends=('openssl')
makedepends=('cmake')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
"gcc47.patch")
md5sums=('38e46e589720eefd71f92b6b76993bf0'
'23bbcfa0170aa1df8387ff6419057d7c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i "${srcdir}/gcc47.patch"
cd ..
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "${srcdir}/build"
make "DESTDIR=${pkgdir}" install
}
|