🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344
pkgname: 'libjpeg-turbo'
pkgver: '3.2.0'
pkgrel: '2'
pkgdesc: 'JPEG image codec with accelerated baseline compression and decompression'
url: 'https://libjpeg-turbo.virtualgl.org/'
arch: x86_64
license:
- BSD
depends: []
makedepends:
- nasm
- openjdk
- cmake
source:
- 'https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd libjpeg-turbo-${pkgver}
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=RELEASE \
-D ENABLE_STATIC=FALSE \
-D CMAKE_INSTALL_DEFAULT_LIBDIR=lib \
-D CMAKE_SKIP_INSTALL_RPATH=ON \
-D WITH_JPEG8=ON \
..
make
make DESTDIR=${PKGDIR} \
exampledir="/usr/share/doc/${pkgname}-${pkgver}" \
install
install -m 644 ../../${pkgname}-${pkgver}/src/jpegint.h "${PKGDIR}/usr/include" # required by other software
install -Dm644 ../LICENSE.md ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE.md
package: |
true