[arch-commits] Commit in libjpeg-turbo/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Gaëtan Bisson
bisson at archlinux.org
Fri Feb 15 02:17:05 UTC 2019
Date: Friday, February 15, 2019 @ 02:17:04
Author: bisson
Revision: 346278
archrelease: copy trunk to extra-x86_64
Added:
libjpeg-turbo/repos/extra-x86_64/PKGBUILD
(from rev 346277, libjpeg-turbo/trunk/PKGBUILD)
Deleted:
libjpeg-turbo/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-15 02:15:42 UTC (rev 346277)
+++ PKGBUILD 2019-02-15 02:17:04 UTC (rev 346278)
@@ -1,54 +0,0 @@
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
-
-pkgname=libjpeg-turbo
-pkgver=2.0.1
-pkgrel=1
-pkgdesc='JPEG image codec with accelerated baseline compression and decompression'
-url='https://libjpeg-turbo.org/'
-arch=('x86_64')
-license=('custom')
-makedepends=('cmake' 'nasm' 'jdk8-openjdk')
-validpgpkeys=('7D6293CC6378786E1B5C496885C7044E033FDE16')
-source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
-sha256sums=('e5f86cec31df1d39596e0cca619ab1b01f99025a27dafdfc97a30f3a12f866ff'
- 'SKIP')
-
-provides=('libjpeg=8.2.2')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed 's/Szathmáry/Szathmary/g' -i java/org/libjpegturbo/turbojpeg/*.java
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- cmake \
- -DWITH_JAVA=1 \
- -DWITH_JPEG8=1 \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- .
-
- make
-}
-
-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 "${pkgdir}/usr/share/licenses/${pkgname}"
- ln -s ../../doc/libjpeg-turbo/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m 644 jpegint.h "${pkgdir}/usr/include" # required by other software
-}
Copied: libjpeg-turbo/repos/extra-x86_64/PKGBUILD (from rev 346277, libjpeg-turbo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-15 02:17:04 UTC (rev 346278)
@@ -0,0 +1,54 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
+
+pkgname=libjpeg-turbo
+pkgver=2.0.2
+pkgrel=1
+pkgdesc='JPEG image codec with accelerated baseline compression and decompression'
+url='https://libjpeg-turbo.org/'
+arch=('x86_64')
+license=('custom')
+makedepends=('cmake' 'nasm' 'jdk8-openjdk')
+validpgpkeys=('7D6293CC6378786E1B5C496885C7044E033FDE16')
+source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('acb8599fe5399af114287ee5907aea4456f8f2c1cc96d26c28aebfdf5ee82fed'
+ 'SKIP')
+
+provides=('libjpeg=8.2.2')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed 's/Szathmáry/Szathmary/g' -i java/org/libjpegturbo/turbojpeg/*.java
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ cmake \
+ -DWITH_JAVA=1 \
+ -DWITH_JPEG8=1 \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ .
+
+ make
+}
+
+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 "${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -s ../../doc/libjpeg-turbo/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m 644 jpegint.h "${pkgdir}/usr/include" # required by other software
+}
More information about the arch-commits
mailing list