diff options
Diffstat (limited to 'main/poppler-qt4')
-rw-r--r-- | main/poppler-qt4/APKBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/main/poppler-qt4/APKBUILD b/main/poppler-qt4/APKBUILD index 7874197552..bd3c937647 100644 --- a/main/poppler-qt4/APKBUILD +++ b/main/poppler-qt4/APKBUILD @@ -29,12 +29,15 @@ replaces="poppler-glib" depends_dev="$makedepends" source="http://poppler.freedesktop.org/poppler-$pkgver.tar.gz" +_builddir="$srcdir/$_realname-$pkgver" + prepare() { - return 0 + cd "$_builddir" + update_config_sub || return 1 } build() { - cd "$srcdir"/$_realname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -54,7 +57,7 @@ build() { } package() { - cd "$srcdir"/$_realname-$pkgver + cd "$_builddir" install -D -m644 poppler-qt4.pc "$pkgdir"/usr/lib/pkgconfig/poppler-qt4.pc cd qt4 make DESTDIR="$pkgdir" install || return 1 |