core/libgadu/PKGBUILD
2010-05-17 07:50:50 +00:00

31 lines
730 B
Bash

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