summaryrefslogtreecommitdiff
path: root/community/libharu/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-19 23:13:08 +0000
committerroot <root@rshg047.dnsready.net>2011-07-19 23:13:08 +0000
commit94e3eb45cd3402cbc5efd70ae725e8d48ed696af (patch)
tree5f43e51e770fce190ea2732d7784460e4a34b351 /community/libharu/PKGBUILD
parent040215f1ca1d14472525c2562bc33e84f9728d4a (diff)
Tue Jul 19 23:13:07 UTC 2011
Diffstat (limited to 'community/libharu/PKGBUILD')
-rw-r--r--community/libharu/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/libharu/PKGBUILD b/community/libharu/PKGBUILD
new file mode 100644
index 000000000..160373489
--- /dev/null
+++ b/community/libharu/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 51967 2011-07-18 20:03:48Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer : SpepS <dreamspepser at yahoo dot it>
+# Contributor: Auguste <auguste@gmail.com>
+# Contributor: Jose Negron <josenj.arch@mailnull.com>
+
+pkgname=libharu
+pkgver=2.2.1
+pkgrel=1
+pkgdesc="C/C++ library for generating PDF documents"
+url="http://libharu.org/wiki/Main_Page"
+arch=('i686' 'x86_64')
+license=('custom:ZLIB')
+depends=('libpng' 'gcc-libs')
+options=(!libtool)
+source=("http://libharu.org/files/$pkgname-$pkgver.tar.gz")
+md5sums=('63da8e087744f1d6cf16f9501b1cb766')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ # license
+ install -d "$pkgdir/usr/share/licenses/$pkgname"
+ sed -n '102,120p' README > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}