summaryrefslogtreecommitdiff
path: root/community/libdom
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-29 04:05:57 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-29 04:05:57 +0000
commit88f9886de50562f083fa45359821567b0a880ea0 (patch)
tree9d6e6861bee113342e27578c9024b17a3d4ceb5f /community/libdom
parent84fbb975eaab5e85082b96147a85031f1912646e (diff)
Tue Apr 29 04:01:38 UTC 2014
Diffstat (limited to 'community/libdom')
-rw-r--r--community/libdom/PKGBUILD24
1 files changed, 11 insertions, 13 deletions
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 <rodseth@gmail.com>
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"
}