summaryrefslogtreecommitdiff
path: root/community/pdflib-lite/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/pdflib-lite/PKGBUILD
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/pdflib-lite/PKGBUILD')
-rw-r--r--community/pdflib-lite/PKGBUILD49
1 files changed, 0 insertions, 49 deletions
diff --git a/community/pdflib-lite/PKGBUILD b/community/pdflib-lite/PKGBUILD
deleted file mode 100644
index f99c4f350..000000000
--- a/community/pdflib-lite/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# Maintainer: Connor Behan <connor.behan@gmail.com>
-# Contributor: Olivier Mehani <shtrom-arch@ssji.net>
-
-pkgname=pdflib-lite
-_pkgnamecaps=PDFlib-Lite
-pkgver=7.0.5p3
-_basepkgver=${pkgver/p*/}
-pkgrel=2
-pkgdesc="PDF manipulation library."
-url="http://www.pdflib.com"
-arch=(i686 x86_64)
-depends=('glibc')
-provides=('pdflib')
-source=(http://www.pdflib.com/binaries/PDFlib/${_basepkgver//./}/${_pkgnamecaps}-${pkgver}.tar.gz http://www.pdflib.com/fileadmin/pdflib/pdf/license/PDFlib-Lite-license.pdf)
-license=(custom:pdflib-lite)
-
-build() {
- cd "$srcdir"/$_pkgnamecaps-$pkgver
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir"/$_pkgnamecaps-$pkgver
- make prefix="$pkgdir"/usr install
-
- ## Copy files required by the license
- # Documentation
- mkdir -p "$pkgdir"/usr/share/pdflib-lite/doc
- cp ./doc/pdflib/* "$pkgdir"/usr/share/pdflib-lite/doc
-
- # License
- mkdir -p "$pkgdir"/usr/share/licenses/pdflib-lite
- cp -H ../PDFlib-Lite-license.pdf "$pkgdir"/usr/share/licenses/pdflib-lite/LICENSE.pdf
-
- # Examples
- make -C ./bind/pdflib clean
- cp -R ./bind/pdflib/{c,cpp,java} "$pkgdir"/usr/share/pdflib-lite
- find "$pkgdir"/usr/share/pdflib-lite \( \
- -name Makefile \
- -o -name *.dsp \
- -o -name *.dsw \
- -o -name *.sln \
- -o -name *.vcproj \
- \) -exec rm {} \;
-}
-
-md5sums=('371d332d610a8b21a542bb7a2bdaf954'
- '2f3f9cc20199aad91b33dc26cdcbbab4')