summaryrefslogtreecommitdiff
path: root/community/uriparser/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/uriparser/PKGBUILD')
-rw-r--r--community/uriparser/PKGBUILD44
1 files changed, 24 insertions, 20 deletions
diff --git a/community/uriparser/PKGBUILD b/community/uriparser/PKGBUILD
index 1d8defbb9..73bef5e46 100644
--- a/community/uriparser/PKGBUILD
+++ b/community/uriparser/PKGBUILD
@@ -1,21 +1,25 @@
+# $Id: PKGBUILD 59139 2011-11-21 12:26:27Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Juan Pablo Gonzalez Tognarelli <lord_jotape@yahoo.com.ar>
- pkgname=uriparser
- pkgver=0.7.5
- pkgrel=1
- pkgdesc="uriparser is a strictly RFC 3986 compliant URI parsing library. uriparser is cross-platform, fast, supports Unicode"
- url="http://sourceforge.net/projects/uriparser/"
- depends=(glibc)
- makedepends=(doxygen)
- source=(http://downloads.sourceforge.net/sourceforge/uriparser/$pkgname-$pkgver.tar.bz2)
- md5sums=('4f4349085fe5de33bcae8d0f26649593')
- arch=('i686' 'x86_64')
- license="CUSTOM"
- build() {
- cd ${srcdir}/$pkgname-$pkgver
- ./configure --prefix=/usr --disable-test
- ln -s ${srcdir}/$pkgname-$pkgver/doc/Doxyfile.in ${srcdir}/$pkgname-$pkgver/doc/Doxyfile
- make || return 1
- make DESTDIR=$startdir/pkg install || return 1
- install -D -m644 "${srcdir}/$pkgname-$pkgver/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
-}
- \ No newline at end of file
+
+pkgname=uriparser
+pkgver=0.7.5
+pkgrel=1
+pkgdesc="uriparser is a strictly RFC 3986 compliant URI parsing library. uriparser is cross-platform, fast, supports Unicode"
+url="http://sourceforge.net/projects/uriparser/"
+depends=(glibc)
+makedepends=(doxygen)
+arch=('i686' 'x86_64')
+license=("custom")
+source=(http://downloads.sourceforge.net/sourceforge/uriparser/$pkgname-$pkgver.tar.bz2)
+md5sums=('4f4349085fe5de33bcae8d0f26649593')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+ [ -f Makefile ] || ./configure --prefix=/usr --disable-test
+ ln -s ${srcdir}/$pkgname-$pkgver/doc/Doxyfile.in ${srcdir}/$pkgname-$pkgver/doc/Doxyfile
+ sed -i 's|{css,gif,html,png}|{css,html,png}|' doc/Makefile
+ make
+ make DESTDIR=$pkgdir install
+ install -D -m644 "${srcdir}/$pkgname-$pkgver/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}