summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/poppler-libre/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/libre/poppler-libre/PKGBUILD b/libre/poppler-libre/PKGBUILD
index 2bf7a1485..d30bc73d2 100644
--- a/libre/poppler-libre/PKGBUILD
+++ b/libre/poppler-libre/PKGBUILD
@@ -1,7 +1,8 @@
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
-pkgbase=poppler
+pkgbase=poppler-libre
+_pkgbase=poppler
pkgname=('poppler-libre' 'poppler-glib' 'poppler-qt')
pkgver=0.16.2
pkgrel=2
@@ -10,7 +11,7 @@ license=('GPL')
makedepends=('libjpeg' 'gcc-libs' 'cairo' 'libxml2' 'fontconfig' 'openjpeg' 'gtk2' 'qt' 'pkgconfig' 'lcms')
options=('!libtool')
url="http://poppler.freedesktop.org/"
-source=(http://poppler.freedesktop.org/${pkgbase}-${pkgver}.tar.gz)
+source=(http://poppler.freedesktop.org/${_pkgbase}-${pkgver}.tar.gz)
md5sums=('0e68e4a894a4234d5468560bcd79baa9')
build() {
@@ -32,7 +33,7 @@ package_poppler-libre() {
provides=("poppler=$pkgver")
replaces=('poppler')
- cd "${srcdir}/${pkgbase}-${pkgver}"
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/include/poppler/{glib,qt4}
@@ -46,9 +47,9 @@ package_poppler-glib() {
pkgdesc="Poppler glib bindings"
depends=("poppler=${pkgver}" 'gtk2')
- cd "${srcdir}/${pkgbase}-${pkgver}/poppler"
+ cd "${srcdir}/${_pkgbase}-${pkgver}/poppler"
make DESTDIR="${pkgdir}" install-libLTLIBRARIES
- cd "${srcdir}/${pkgbase}-${pkgver}/glib"
+ cd "${srcdir}/${_pkgbase}-${pkgver}/glib"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/lib/pkgconfig"
install -m644 ../poppler-glib.pc "${pkgdir}/usr/lib/pkgconfig/"
@@ -59,9 +60,9 @@ package_poppler-qt() {
pkgdesc="Poppler Qt bindings"
depends=("poppler=${pkgver}" 'qt')
- cd "${srcdir}/${pkgbase}-${pkgver}/poppler"
+ cd "${srcdir}/${_pkgbase}-${pkgver}/poppler"
make DESTDIR="${pkgdir}" install-libLTLIBRARIES
- cd "${srcdir}/${pkgbase}-${pkgver}/qt4"
+ cd "${srcdir}/${_pkgbase}-${pkgver}/qt4"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/lib/pkgconfig"
install -m644 ../poppler-qt4.pc "${pkgdir}/usr/lib/pkgconfig/"