diff options
Diffstat (limited to 'community/pdflib-lite')
-rw-r--r-- | community/pdflib-lite/PKGBUILD | 49 |
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') |