diff options
Diffstat (limited to 'poppler/Pkgfile')
-rw-r--r-- | poppler/Pkgfile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/poppler/Pkgfile b/poppler/Pkgfile index fde61b28b..9cd2c5160 100644 --- a/poppler/Pkgfile +++ b/poppler/Pkgfile @@ -4,14 +4,12 @@ # Depends on: cmake cairo lcms2 name=poppler -version=0.88.0 +version=0.89.0 release=1 source=(https://poppler.freedesktop.org/poppler-$version.tar.xz) build() { - cd poppler-$version - - cmake . \ + cmake -S $name-$version -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ @@ -25,6 +23,6 @@ build() { -DENABLE_LIBOPENJPEG=none \ -DWITH_NSS3=OFF - make - make DESTDIR=$PKG install + cmake --build build + DESTDIR=$PKG cmake --install build } |