Commit ee31d77a authored by Chaoting Liu's avatar Chaoting Liu

poppler-data: switch to cmake configuration [skip-ci]

parent 9e5de77d
Pipeline #889 skipped
pkgname=poppler-data pkgname=poppler-data
pkgver=0.4.8 pkgver=0.4.8
pkgrel=1 pkgrel=2
pkgdesc="Encoding data for the poppler PDF rendering library" pkgdesc="Encoding data for the poppler PDF rendering library"
arch=(any) arch=(any)
license=('custom' 'GPL2') license=('custom' 'GPL2')
conflicts=('poppler<0.10.5') conflicts=('poppler<0.10.5')
url="" url=""
source=(${pkgname}-${pkgver}.tar.gz) source=(${pkgname}-${pkgver}.tar.gz)
md5sums=('00f8989c804de84af0ba2ea629949980') md5sums=('00f8989c804de84af0ba2ea629949980')
prepare() {
mkdir -p $srcdir/build
build() { build() {
cd "${srcdir}/${pkgname}-${pkgver}" cd $srcdir/build
make prefix=/usr cmake -DCMAKE_INSTALL_PREFIX=/usr ../${pkgname}-${pkgver}
} }
package() { package() {
cd "${srcdir}/${pkgname}-${pkgver}" cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
cd "${srcdir}/${pkgname}-${pkgver}"
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING COPYING.adobe \ install -m644 COPYING COPYING.adobe \
"${pkgdir}/usr/share/licenses/${pkgname}/" "${pkgdir}/usr/share/licenses/${pkgname}/"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment