diff options
Diffstat (limited to 'repo/mozjpeg/PKGBUILD')
| -rw-r--r-- | repo/mozjpeg/PKGBUILD | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/repo/mozjpeg/PKGBUILD b/repo/mozjpeg/PKGBUILD deleted file mode 100644 index 270e19e..0000000 --- a/repo/mozjpeg/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: afontenot <[email protected]> -# Contributor: Gaetan Bisson <[email protected]> -# Contributor: Allan McRae <[email protected]> -# Contributor: Simone Sclavi 'Ito' <[email protected]> -# Contributor: N30N <[email protected]> - -pkgname="mozjpeg" -pkgver=4.0.3 -pkgrel=1 -pkgdesc="JPEG image codec with accelerated baseline decoding and superior encoding" -url="https://github.com/mozilla/mozjpeg" -license=("BSD") -arch=("i686" "x86_64" "armv7h") -depends=("glibc" "libpng") -makedepends=("nasm" "cmake") -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha1sums=('8e9272a8ec1429638febd6897664c575bdd50ecb') - -provides=("libjpeg" "libjpeg.so" "turbojpeg" "libjpeg-turbo") -conflicts=("libjpeg" "mozjpeg-git" "turbojpeg" "libjpeg-turbo") - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DENABLE_STATIC=FALSE -DPNG_SUPPORTED=TRUE -DWITH_JPEG8=TRUE . - make -} - -# much too slow for default, can be enabled if desired -#check() { -# cd "${srcdir}/${pkgname}-${pkgver}" -# make test -#} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make \ - DESTDIR="${pkgdir}" \ - docdir="/usr/share/doc/${pkgname}" \ - exampledir="/usr/share/doc/${pkgname}" \ - install - - install -D LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -m644 jpegint.h "${pkgdir}/usr/include" -} |
