diff options
Diffstat (limited to 'pcr/libwww-hg/PKGBUILD')
-rw-r--r-- | pcr/libwww-hg/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/libwww-hg/PKGBUILD b/pcr/libwww-hg/PKGBUILD new file mode 100644 index 000000000..9fc91e231 --- /dev/null +++ b/pcr/libwww-hg/PKGBUILD @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com> +# Maintainer (Archlinux): Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Buharev Vasilij <buharev.v.p@gmail.com> + +pkgname=libwww-hg +pkgver=20130730 +_changeset=facbea79943a +pkgrel=11 +pkgdesc="A general-purpose client side WEB API" +arch=('i686' 'x86_64') +url="http://hg.kervala.net/packaging/" +license=('W3C') +depends=() +conflicts=("libwww") +provides=("libwww") +makedepends=('gcc' 'pkgconfig' 'perl' 'zlib') +options=('!libtool') +source=("http://hg.kervala.net/packaging/archive/${_changeset}.tar.gz") +sha256sums=('26adbb77c4ecb3df3a074597a8dfc45b7215879fbc0447cb086199c17ae8ba8d') + + +build() { + cd "$srcdir/packaging-${_changeset}/libwww" + ./autogen.sh + ./configure --prefix=/usr/ \ + --with-ssl=no --with-zlib --with-expat --with-gnu-ld \ + --enable-shared --enable-static + #sed -i 's#Examples##' Library/Makefile + make +} + +package() { + cd "$srcdir/packaging-${_changeset}/libwww" + make DESTDIR="$pkgdir" install +} |