summaryrefslogtreecommitdiff
path: root/community/hubbub/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/hubbub/PKGBUILD')
-rw-r--r--community/hubbub/PKGBUILD29
1 files changed, 15 insertions, 14 deletions
diff --git a/community/hubbub/PKGBUILD b/community/hubbub/PKGBUILD
index 5b24c72be..1a84ac701 100644
--- a/community/hubbub/PKGBUILD
+++ b/community/hubbub/PKGBUILD
@@ -1,32 +1,33 @@
-# $Id: PKGBUILD 70911 2012-05-18 23:52:08Z arodseth $
+# $Id: PKGBUILD 89120 2013-04-26 23:11:48Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
pkgname=hubbub
-pkgver=0.1.2
+pkgver=0.2.0
pkgrel=1
-pkgdesc="HTML5 compliant parsing library"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://www.netsurf-browser.org/projects/hubbub/"
+pkgdesc='HTML5 compliant parsing library'
+arch=('x86_64' 'i686' 'mips64el')
+url='http://www.netsurf-browser.org/projects/hubbub/'
license=('MIT')
-depends=('libparserutils')
-source=("http://www.netsurf-browser.org/projects/releases/$pkgname-$pkgver-src.tar.gz")
-sha256sums=('95a1d5a71055b28a8e4ce4dc8516b8f0ed691c5ee03525bf73600495657f1b52')
+depends=('libparserutils>=0.1.2')
+makedepends=('netsurf-buildsystem')
+source=("http://download.netsurf-browser.org/libs/releases/lib$pkgname-$pkgver-src.tar.gz")
+sha256sums=('91c90965fdbbfb9137c7881b33736a03fc80bd16f5cd7808e1efff3d63000eaf')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/lib$pkgname-$pkgver"
sed -i 's:-Werror::' Makefile
- make PREFIX=/usr COMPONENT_TYPE="lib-shared"
- make PREFIX=/usr COMPONENT_TYPE="lib-static"
+ make PREFIX=/usr COMPONENT_TYPE='lib-shared'
+ make PREFIX=/usr COMPONENT_TYPE='lib-static'
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/lib$pkgname-$pkgver"
- make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-shared"
- make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE="lib-static"
+ make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE='lib-shared'
+ make install PREFIX=/usr DESTDIR="$pkgdir" COMPONENT_TYPE='lib-static'
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}