mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
aur/libcss-svn to 13772-1
This commit is contained in:
parent
ae2e09b815
commit
da738b48ec
1 changed files with 17 additions and 12 deletions
|
@ -1,15 +1,18 @@
|
|||
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
|
||||
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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue