core/libgadu/PKGBUILD

31 lines
730 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Mateusz Herych <heniekk@gmail.com>
pkgname=libgadu
2010-05-17 15:50:50 +08:00
pkgver=1.9.0
_pkgver=1.9.0
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="Gadu-Gadu protocol libraries"
arch=('i686' 'x86_64')
url="http://toxygen.net/libgadu/"
license=('GPL')
depends=('openssl')
options=('!libtool')
2010-05-17 15:50:50 +08:00
source=("http://toxygen.net/${pkgname}/files/${pkgname}-${pkgver}.tar.gz")
md5sums=('4a18762d984e20495aa39a4032c17d5f')
2010-03-14 23:48:48 +08:00
build() {
2010-04-07 03:23:26 +08:00
cd ${srcdir}/${pkgname}-${pkgver}
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr \
--disable-static \
--enable-shared \
--with-pthread
make || return 1
2010-04-07 03:23:26 +08:00
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
2010-03-14 23:48:48 +08:00
make DESTDIR=${pkgdir} install || return 1
}