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

recipes/utils/openjpeg/PAGBUILD.yaml main

43 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637383940414243
pkgname: openjpeg
pkgver: '2.5.4'
pkgrel: '1'
pkgdesc: 'OpenJPEG is an open-source implementation of the JPEG-2000 standard.'
url: 'https://www.ijg.org/'
arch: x86_64
license:
- 'BSD-2-Clause'
- MIT

depends: []
makedepends:
- cmake
- lcms2
- libpng
- libtiff
- doxygen

source:
- 'https://github.com/uclouvain/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  mkdir -v build
  cd build

  cmake -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DBUILD_STATIC_LIBS=OFF ..
  make
  make DESTDIR=${PKGDIR} install

  pushd ../doc
   for man in man/man?/* ; do
    install -v -D -m 644 $man ${PKGDIR}/usr/share/$man
   done
  popd

package: |
  true