PKGBUILDs/aur/libwapcaplet-svn/PKGBUILD

37 lines
806 B
Bash
Raw Normal View History

2011-06-16 13:04:10 +00:00
# Contributor: Alexander R<>dseth <rodseth@gmail.com>
2012-04-15 16:46:27 +00:00
plugrel=1
2011-06-16 13:04:10 +00:00
pkgname=libwapcaplet-svn
2012-04-15 16:46:27 +00:00
pkgver=13777
2011-06-16 13:04:10 +00:00
pkgrel=1
pkgdesc="A string internment library with rapid string comparison"
2012-04-15 16:46:27 +00:00
arch=('i686' 'x86_64')
2011-06-16 13:04:10 +00:00
url="http://www.netsurf-browser.org/projects/libwapcaplet/"
license=('MIT')
makedepends=('subversion')
provides=('libwapcaplet')
_svntrunk=svn://svn.netsurf-browser.org/trunk/libwapcaplet
_svnmod=libwapcaplet
build() {
cd "$srcdir"
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
cd $_svnmod
make || return 1
make PREFIX="/usr" DESTDIR="$pkgdir/" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
# vim:set ts=2 sw=2 et: