aur/libcss-svn to 13772-1

This commit is contained in:
Kevin Mihelich 2012-04-15 12:45:07 -04:00
parent ae2e09b815
commit da738b48ec

View file

@ -1,15 +1,18 @@
# Maintainer: Alexander Rødseth <rodseth@gmail.com> # Maintainer: Alexander Rødseth <rodseth@gmail.com>
pkgname=libcss-svn
pkgver=12446
pkgrel=1
plugrel=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/" url="http://www.netsurf-browser.org/projects/libcss/"
license=('MIT') license=('MIT')
depends=('libparserutils-svn' 'libwapcaplet-svn') depends=('libparserutils>=0.1.0' 'libwapcaplet-svn>=13777')
makedepends=('subversion') makedepends=('subversion')
provides=('libcss') provides=('libcss=0.0.3')
conflicts=('libcss')
_svntrunk=svn://svn.netsurf-browser.org/trunk/libcss _svntrunk=svn://svn.netsurf-browser.org/trunk/libcss
_svnmod=libcss _svnmod=libcss
@ -21,16 +24,18 @@ build() {
else else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi fi
msg "SVN checkout done or server timeout" msg "SVN checkout done or server timeout"
cd "$_svnmod" cd "$_svnmod"
msg2 "Building..." msg2 "Compiling..."
sed -i "s/-Werror//g" Makefile export CFLAGS="-Wno-unused-but-set-variable"
make make
make PREFIX="/usr" DESTDIR="$pkgdir/" install }
package() {
cd "$srcdir/$_svnmod"
make PREFIX="/usr" DESTDIR="$pkgdir/" install
msg2 "Packaging license..." msg2 "Packaging license..."
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
} }