🔒 Repository is read-only – file editing is disabled.

recipes/gui/libppd/PAGBUILD.yaml main

43 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637383940414243
pkgname: libppd
pkgver: '2.1.1'
pkgrel: '1'
pkgdesc: 'OpenPrinting - the legacy support library for PPD files'
url: 'https://github.com/OpenPrinting/libppd'
arch: x86_64
license:
- Apache

depends: []
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