From 88f9886de50562f083fa45359821567b0a880ea0 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 29 Apr 2014 04:05:57 +0000 Subject: Tue Apr 29 04:01:38 UTC 2014 --- community/libdom/PKGBUILD | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'community/libdom') diff --git a/community/libdom/PKGBUILD b/community/libdom/PKGBUILD index 04af2ae72..1c3541671 100644 --- a/community/libdom/PKGBUILD +++ b/community/libdom/PKGBUILD @@ -1,31 +1,29 @@ -# $Id: PKGBUILD 99607 2013-10-30 13:18:31Z arodseth $ +# $Id: PKGBUILD 110365 2014-04-28 13:57:38Z arodseth $ # Maintainer: Alexander Rødseth pkgname=libdom -pkgver=0.0.1 -pkgrel=2 +pkgver=0.1.0 +pkgrel=1 pkgdesc='Implementation of the W3C DOM' arch=('x86_64' 'i686') url='http://www.netsurf-browser.org/projects/libdom/' license=('MIT') -depends=('libhubbub>=0.2.0' 'libwapcaplet>=0.2.0' 'expat') -makedepends=('netsurf-buildsystem') -source=("http://download.netsurf-browser.org/libs/releases/$pkgname-$pkgver-src.tar.gz") -sha256sums=('2aa75861c8a8291b6b3d1a3856c65ca615677afeec64ccfdf35a113a292c36b1') +depends=('libhubbub>=0.3.0' 'libwapcaplet>=0.2.1' 'expat') +makedepends=('netsurf-buildsystem' 'git') +source=("git://git.netsurf-browser.org/libdom.git#tag=release/$pkgver") +md5sums=('SKIP') build() { - cd "$pkgname-$pkgver" + cd "$pkgname" export CFLAGS="-Wno-error=unused-but-set-variable" - make PREFIX=/usr COMPONENT_TYPE="lib-shared" - #make PREFIX=/usr COMPONENT_TYPE="lib-static" + make LIBDIR=lib PREFIX=/usr COMPONENT_TYPE="lib-shared" } package() { - cd "$pkgname-$pkgver" + cd "$pkgname" - make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-shared" - #make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-static" + make install LIBDIR=lib PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-shared" install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } -- cgit v1.2.3-54-g00ecf