PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/gui/libppd/PAGBUILD.yaml main

45 lines Raw ← Back
123456789101112131415161718192021222324252627282930313233343536373839404142434445
pkgname: libppd
pkgver: '2.1.1'
pkgrel: '3'
pkgdesc: 'OpenPrinting - the legacy support library for PPD files'
url: 'https://github.com/OpenPrinting/libppd'
arch: x86_64
license:
- Apache

depends:
- cups
- libcupsfilters
makedepends:
- libcupsfilters

source:
- 'https://github.com/OpenPrinting/libppd/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  ./configure \
          --prefix=/usr \
          --disable-static \
          --with-cups-rundir=/run/cups \
          --enable-ppdc-utils \
          --disable-pdftops   \
          --disable-mutool

  make
  make DESTDIR=${PKGDIR} install

  # Already in cups
  for i in ppdc ppdhtml ppdi ppdmerge ppdpo
  do
    rm ${PKGDIR}/usr/bin/$i
  done

  install -Dm644 COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
  install -Dm644 NOTICE ${PKGDIR}/usr/share/licenses/${pkgname}/NOTICE

package: |
  true