[arch-commits] Commit in libjpeg-turbo/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Gaëtan Bisson bisson at archlinux.org
Thu Sep 5 22:51:22 UTC 2019


    Date: Thursday, September 5, 2019 @ 22:51:21
  Author: bisson
Revision: 361969

archrelease: copy trunk to extra-x86_64

Added:
  libjpeg-turbo/repos/extra-x86_64/PKGBUILD
    (from rev 361968, 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-09-05 22:51:04 UTC (rev 361968)
+++ PKGBUILD	2019-09-05 22:51:21 UTC (rev 361969)
@@ -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.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
-}

Copied: libjpeg-turbo/repos/extra-x86_64/PKGBUILD (from rev 361968, libjpeg-turbo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-05 22:51:21 UTC (rev 361969)
@@ -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.3
+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=('4246de500544d4ee408ee57048aa4aadc6f165fc17f141da87669f20ed3241b7'
+            '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