From da738b48eca75e4fb0662cdc531d74a4b594298a Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 15 Apr 2012 12:45:07 -0400 Subject: [PATCH] aur/libcss-svn to 13772-1 --- aur/libcss-svn/PKGBUILD | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/aur/libcss-svn/PKGBUILD b/aur/libcss-svn/PKGBUILD index d9c86badc..5817cb916 100644 --- a/aur/libcss-svn/PKGBUILD +++ b/aur/libcss-svn/PKGBUILD @@ -1,15 +1,18 @@ # Maintainer: Alexander Rødseth -pkgname=libcss-svn -pkgver=12446 -pkgrel=1 + plugrel=1 -pkgdesc="A CSS parser and selection engine" -arch=('arm' 'i686' 'x86_64') + +pkgname=libcss-svn +pkgver=13772 +pkgrel=1 +pkgdesc="CSS parser and selection engine" +arch=('any') url="http://www.netsurf-browser.org/projects/libcss/" license=('MIT') -depends=('libparserutils-svn' 'libwapcaplet-svn') +depends=('libparserutils>=0.1.0' 'libwapcaplet-svn>=13777') makedepends=('subversion') -provides=('libcss') +provides=('libcss=0.0.3') +conflicts=('libcss') _svntrunk=svn://svn.netsurf-browser.org/trunk/libcss _svnmod=libcss @@ -21,16 +24,18 @@ build() { else svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod fi - msg "SVN checkout done or server timeout" - cd "$_svnmod" - msg2 "Building..." - sed -i "s/-Werror//g" Makefile + msg2 "Compiling..." + export CFLAGS="-Wno-unused-but-set-variable" make - make PREFIX="/usr" DESTDIR="$pkgdir/" install +} +package() { + cd "$srcdir/$_svnmod" + + make PREFIX="/usr" DESTDIR="$pkgdir/" install msg2 "Packaging license..." install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" }