diff options
Diffstat (limited to 'main/poppler-gtk')
-rw-r--r-- | main/poppler-gtk/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/poppler-gtk/APKBUILD b/main/poppler-gtk/APKBUILD index bb71f05cd9..6417a2214e 100644 --- a/main/poppler-gtk/APKBUILD +++ b/main/poppler-gtk/APKBUILD @@ -31,8 +31,15 @@ prepare() { return 0 } +_builddir="$srcdir/$_realname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build() { - cd "$srcdir"/$_realname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -53,7 +60,7 @@ build() { } package() { - cd "$srcdir"/$_realname-$pkgver + cd "$_builddir" install -D -m644 poppler-glib.pc "$pkgdir"/usr/lib/pkgconfig/poppler-glib.pc cd glib make DESTDIR="$pkgdir" install || return 1 |