From a79be0ea10037c1ea72508c42fa87283ab46bb30 Mon Sep 17 00:00:00 2001 From: "William J. Bowman" Date: Sat, 30 Jun 2018 00:17:22 -0400 Subject: [PATCH 01/10] Updated to 0.8.2-1 --- .SRCINFO | 14 ++++++++++++++ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..507d59d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = ect + pkgdesc = Efficient Compression Tool (or ECT) is a ++ file optimizer. It supports PNG, JPEG, GZIP and ZIP files. + pkgver = 0.8.2 + pkgrel = 1 + url = https://github.com/fhanau/Efficient-Compression-Tool + arch = i686 + arch = x86_64 + license = Apache2 + makedepends = nasm + source = ect::git+https://github.com/fhanau/Efficient-Compression-Tool.git#tag=v0.8.2 + sha256sums = SKIP + +pkgname = ect + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..3d2f8e6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +#Maintainer: William J. Bowman + +pkgname=ect +pkgver=0.8.2 +pkgrel=1 +pkgdesc='Efficient Compression Tool (or ECT) is a ++ file optimizer. It supports PNG, JPEG, GZIP and ZIP files.' +url='https://github.com/fhanau/Efficient-Compression-Tool' +arch=('i686' 'x86_64') +license=('Apache2') +source=("ect::git+https://github.com/fhanau/Efficient-Compression-Tool.git#tag=v${pkgver}") +sha256sums=('SKIP') +makedepends=('nasm') + +prepare(){ + cd "${srcdir}/${pkgname}/src" + git submodule update --init --recursive --recommend-shallow + cd mozjpeg + autoreconf -i +} + +build() { + cd "${srcdir}/${pkgname}/src" + make +} + +package() { + cd "${srcdir}/${pkgname}/src" + + PREFIX=/usr/ DESTDIR="${pkgdir}" make install + cd "${pkgdir}"/usr/bin + + # Some things expect this to be an all-caps name + ln -s ect ECT +} From 4e6ad6914c17e748a89a60b00c9f1766876225a2 Mon Sep 17 00:00:00 2001 From: "William J. Bowman" Date: Sat, 29 Jun 2019 21:17:23 -0700 Subject: [PATCH 02/10] Updated to 0.8.2-2 Added git to make-depends --- .SRCINFO | 3 ++- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 507d59d..1a03f2a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,12 +1,13 @@ pkgbase = ect pkgdesc = Efficient Compression Tool (or ECT) is a ++ file optimizer. It supports PNG, JPEG, GZIP and ZIP files. pkgver = 0.8.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/fhanau/Efficient-Compression-Tool arch = i686 arch = x86_64 license = Apache2 makedepends = nasm + makedepends = git source = ect::git+https://github.com/fhanau/Efficient-Compression-Tool.git#tag=v0.8.2 sha256sums = SKIP diff --git a/PKGBUILD b/PKGBUILD index 3d2f8e6..4ef8f64 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,14 +2,14 @@ pkgname=ect pkgver=0.8.2 -pkgrel=1 +pkgrel=2 pkgdesc='Efficient Compression Tool (or ECT) is a ++ file optimizer. It supports PNG, JPEG, GZIP and ZIP files.' url='https://github.com/fhanau/Efficient-Compression-Tool' arch=('i686' 'x86_64') license=('Apache2') source=("ect::git+https://github.com/fhanau/Efficient-Compression-Tool.git#tag=v${pkgver}") sha256sums=('SKIP') -makedepends=('nasm') +makedepends=('nasm' 'git') prepare(){ cd "${srcdir}/${pkgname}/src" From b95a4c8bf347a4569f2956913bf0659959bcae5a Mon Sep 17 00:00:00 2001 From: haawda Date: Mon, 30 Mar 2020 17:22:25 +0200 Subject: [PATCH 03/10] adopted and updated --- .SRCINFO | 13 +++++++------ PKGBUILD | 35 ++++++++++++++++++++--------------- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 1a03f2a..ca14919 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,15 +1,16 @@ pkgbase = ect - pkgdesc = Efficient Compression Tool (or ECT) is a ++ file optimizer. It supports PNG, JPEG, GZIP and ZIP files. - pkgver = 0.8.2 - pkgrel = 2 + pkgdesc = file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files. + pkgver = 0.8.3 + pkgrel = 1 url = https://github.com/fhanau/Efficient-Compression-Tool arch = i686 arch = x86_64 - license = Apache2 + license = Apache makedepends = nasm makedepends = git - source = ect::git+https://github.com/fhanau/Efficient-Compression-Tool.git#tag=v0.8.2 - sha256sums = SKIP + depends = gcc-libs + source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f0b38f7f8b750099f14d4976beff6a107d6119ac + md5sums = SKIP pkgname = ect diff --git a/PKGBUILD b/PKGBUILD index 4ef8f64..b571136 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,34 +1,39 @@ -#Maintainer: William J. Bowman +# Contributor: William J. Bowman +# Maintainer: Stefan Husmann pkgname=ect -pkgver=0.8.2 -pkgrel=2 -pkgdesc='Efficient Compression Tool (or ECT) is a ++ file optimizer. It supports PNG, JPEG, GZIP and ZIP files.' +_pkgname=Efficient-Compression-Tool +pkgver=0.8.3 +pkgrel=1 +pkgdesc='file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.' url='https://github.com/fhanau/Efficient-Compression-Tool' arch=('i686' 'x86_64') -license=('Apache2') -source=("ect::git+https://github.com/fhanau/Efficient-Compression-Tool.git#tag=v${pkgver}") -sha256sums=('SKIP') +license=('Apache') +source=("git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f0b38f7f8b750099f14d4976beff6a107d6119ac") +md5sums=('SKIP') +depends=('gcc-libs') makedepends=('nasm' 'git') -prepare(){ - cd "${srcdir}/${pkgname}/src" +prepare() { + cd ${_pkgname} + git submodule init git submodule update --init --recursive --recommend-shallow - cd mozjpeg - autoreconf -i } build() { - cd "${srcdir}/${pkgname}/src" + cd ${_pkgname} + [ -d build ] || mkdir build + cd build + cmake -DECT_FOLDER_SUPPORT=off ../src make } package() { - cd "${srcdir}/${pkgname}/src" + cd ${_pkgname}/src PREFIX=/usr/ DESTDIR="${pkgdir}" make install - cd "${pkgdir}"/usr/bin + cd "${pkgdir}"/usr/bin # Some things expect this to be an all-caps name - ln -s ect ECT + ln -s ect ECT } From 19e4faf770d97409f2e479745202996f63481174 Mon Sep 17 00:00:00 2001 From: haawda Date: Thu, 2 Apr 2020 10:33:19 +0200 Subject: [PATCH 04/10] added cmake to makedepends --- .SRCINFO | 3 ++- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index ca14919..f794d85 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,14 @@ pkgbase = ect pkgdesc = file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files. pkgver = 0.8.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/fhanau/Efficient-Compression-Tool arch = i686 arch = x86_64 license = Apache makedepends = nasm makedepends = git + makedepends = cmake depends = gcc-libs source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f0b38f7f8b750099f14d4976beff6a107d6119ac md5sums = SKIP diff --git a/PKGBUILD b/PKGBUILD index b571136..4c64d70 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=ect _pkgname=Efficient-Compression-Tool pkgver=0.8.3 -pkgrel=1 +pkgrel=2 pkgdesc='file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.' url='https://github.com/fhanau/Efficient-Compression-Tool' arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ license=('Apache') source=("git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f0b38f7f8b750099f14d4976beff6a107d6119ac") md5sums=('SKIP') depends=('gcc-libs') -makedepends=('nasm' 'git') +makedepends=('nasm' 'git' 'cmake') prepare() { cd ${_pkgname} From e201121a0457a4ec18c4b5acdc850dd613d9baf9 Mon Sep 17 00:00:00 2001 From: haawda Date: Sat, 28 May 2022 12:54:12 +0200 Subject: [PATCH 05/10] update --- .SRCINFO | 7 +++---- PKGBUILD | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f794d85..b7a61eb 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = ect pkgdesc = file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files. - pkgver = 0.8.3 - pkgrel = 2 + pkgver = 0.9.0 + pkgrel = 1 url = https://github.com/fhanau/Efficient-Compression-Tool arch = i686 arch = x86_64 @@ -10,8 +10,7 @@ pkgbase = ect makedepends = git makedepends = cmake depends = gcc-libs - source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f0b38f7f8b750099f14d4976beff6a107d6119ac + source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=74cd0d283ce52b8c3d049894eaa2e38b2d098473 md5sums = SKIP pkgname = ect - diff --git a/PKGBUILD b/PKGBUILD index 4c64d70..90d2521 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,13 +3,13 @@ pkgname=ect _pkgname=Efficient-Compression-Tool -pkgver=0.8.3 -pkgrel=2 +pkgver=0.9.0 +pkgrel=1 pkgdesc='file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.' url='https://github.com/fhanau/Efficient-Compression-Tool' arch=('i686' 'x86_64') license=('Apache') -source=("git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f0b38f7f8b750099f14d4976beff6a107d6119ac") +source=("git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=74cd0d283ce52b8c3d049894eaa2e38b2d098473") md5sums=('SKIP') depends=('gcc-libs') makedepends=('nasm' 'git' 'cmake') From 930a6fa66c79a008bc873bbb8d479cae8c1f5ae0 Mon Sep 17 00:00:00 2001 From: haawda Date: Wed, 1 Jun 2022 19:39:40 +0200 Subject: [PATCH 06/10] update --- .SRCINFO | 7 +++---- PKGBUILD | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index b7a61eb..60f26d2 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,16 +1,15 @@ pkgbase = ect pkgdesc = file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files. - pkgver = 0.9.0 + pkgver = 0.9.1 pkgrel = 1 url = https://github.com/fhanau/Efficient-Compression-Tool arch = i686 arch = x86_64 license = Apache makedepends = nasm - makedepends = git makedepends = cmake depends = gcc-libs - source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=74cd0d283ce52b8c3d049894eaa2e38b2d098473 - md5sums = SKIP + source = Efficient-Compression-Tool-0.9.1.tar.gz::https://github.com/fhanau/Efficient-Compression-Tool/archive/refs/tags/v0.9.1.tar.gz + sha256sums = b4af4f1da55ca5ebc1f02029bb7fc7de9c6a45593d1866f35cdca839e01c1a1f pkgname = ect diff --git a/PKGBUILD b/PKGBUILD index 90d2521..723497f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,16 +3,16 @@ pkgname=ect _pkgname=Efficient-Compression-Tool -pkgver=0.9.0 +pkgver=0.9.1 pkgrel=1 pkgdesc='file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.' url='https://github.com/fhanau/Efficient-Compression-Tool' arch=('i686' 'x86_64') license=('Apache') -source=("git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=74cd0d283ce52b8c3d049894eaa2e38b2d098473") -md5sums=('SKIP') +source=("${_pkgname}-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") +sha256sums=('b4af4f1da55ca5ebc1f02029bb7fc7de9c6a45593d1866f35cdca839e01c1a1f') depends=('gcc-libs') -makedepends=('nasm' 'git' 'cmake') +makedepends=('nasm' 'cmake') prepare() { cd ${_pkgname} From a9f0863f7875f062d7d1b6d342c96c71c2159e2b Mon Sep 17 00:00:00 2001 From: haawda Date: Mon, 6 Jun 2022 14:17:51 +0200 Subject: [PATCH 07/10] pull again from git, upstream's tarballs are broken --- .SRCINFO | 7 ++++--- PKGBUILD | 13 ++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 60f26d2..b7ca0c8 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,15 +1,16 @@ pkgbase = ect pkgdesc = file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files. pkgver = 0.9.1 - pkgrel = 1 + pkgrel = 3 url = https://github.com/fhanau/Efficient-Compression-Tool arch = i686 arch = x86_64 license = Apache makedepends = nasm + makedepends = git makedepends = cmake depends = gcc-libs - source = Efficient-Compression-Tool-0.9.1.tar.gz::https://github.com/fhanau/Efficient-Compression-Tool/archive/refs/tags/v0.9.1.tar.gz - sha256sums = b4af4f1da55ca5ebc1f02029bb7fc7de9c6a45593d1866f35cdca839e01c1a1f + source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f920e54bb1b584d3c3d75d3d90d8cfedd04d2fbe + md5sums = SKIP pkgname = ect diff --git a/PKGBUILD b/PKGBUILD index 723497f..6bb727d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,15 +4,15 @@ pkgname=ect _pkgname=Efficient-Compression-Tool pkgver=0.9.1 -pkgrel=1 +pkgrel=3 pkgdesc='file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.' url='https://github.com/fhanau/Efficient-Compression-Tool' arch=('i686' 'x86_64') license=('Apache') -source=("${_pkgname}-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") -sha256sums=('b4af4f1da55ca5ebc1f02029bb7fc7de9c6a45593d1866f35cdca839e01c1a1f') +source=("git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f920e54bb1b584d3c3d75d3d90d8cfedd04d2fbe") +md5sums=('SKIP') depends=('gcc-libs') -makedepends=('nasm' 'cmake') +makedepends=('nasm' 'git' 'cmake') prepare() { cd ${_pkgname} @@ -29,9 +29,8 @@ build() { } package() { - cd ${_pkgname}/src - - PREFIX=/usr/ DESTDIR="${pkgdir}" make install + cd ${_pkgname}/build + install -Dm755 ect "$pkgdir"/usr/bin/ect cd "${pkgdir}"/usr/bin # Some things expect this to be an all-caps name From 38bcdca8c374b646b250b2d04dec2ae1ca025862 Mon Sep 17 00:00:00 2001 From: haawda Date: Mon, 15 Aug 2022 12:28:45 +0200 Subject: [PATCH 08/10] update --- .SRCINFO | 6 +++--- PKGBUILD | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index b7ca0c8..a119a96 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = ect pkgdesc = file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files. - pkgver = 0.9.1 - pkgrel = 3 + pkgver = 0.9.2 + pkgrel = 1 url = https://github.com/fhanau/Efficient-Compression-Tool arch = i686 arch = x86_64 @@ -10,7 +10,7 @@ pkgbase = ect makedepends = git makedepends = cmake depends = gcc-libs - source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f920e54bb1b584d3c3d75d3d90d8cfedd04d2fbe + source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=48aea4e39396a0f6e39fbc504a4b194282c9ff01 md5sums = SKIP pkgname = ect diff --git a/PKGBUILD b/PKGBUILD index 6bb727d..b3ec05d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,13 +3,13 @@ pkgname=ect _pkgname=Efficient-Compression-Tool -pkgver=0.9.1 -pkgrel=3 +pkgver=0.9.2 +pkgrel=1 pkgdesc='file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.' url='https://github.com/fhanau/Efficient-Compression-Tool' arch=('i686' 'x86_64') license=('Apache') -source=("git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f920e54bb1b584d3c3d75d3d90d8cfedd04d2fbe") +source=("git+$url.git#commit=48aea4e39396a0f6e39fbc504a4b194282c9ff01") md5sums=('SKIP') depends=('gcc-libs') makedepends=('nasm' 'git' 'cmake') From 676e3742ba26f82017770ab860120f9c22558d69 Mon Sep 17 00:00:00 2001 From: haawda Date: Tue, 23 Aug 2022 18:15:49 +0200 Subject: [PATCH 09/10] new version --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index a119a96..9d04485 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = ect pkgdesc = file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files. - pkgver = 0.9.2 + pkgver = 0.9.3 pkgrel = 1 url = https://github.com/fhanau/Efficient-Compression-Tool arch = i686 @@ -10,7 +10,7 @@ pkgbase = ect makedepends = git makedepends = cmake depends = gcc-libs - source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=48aea4e39396a0f6e39fbc504a4b194282c9ff01 + source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=230133d6a84149910f05b5d2c6e8ac3fff9de4a6 md5sums = SKIP pkgname = ect diff --git a/PKGBUILD b/PKGBUILD index b3ec05d..cac98ad 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,13 +3,13 @@ pkgname=ect _pkgname=Efficient-Compression-Tool -pkgver=0.9.2 +pkgver=0.9.3 pkgrel=1 pkgdesc='file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.' url='https://github.com/fhanau/Efficient-Compression-Tool' arch=('i686' 'x86_64') license=('Apache') -source=("git+$url.git#commit=48aea4e39396a0f6e39fbc504a4b194282c9ff01") +source=("git+$url.git#commit=230133d6a84149910f05b5d2c6e8ac3fff9de4a6") md5sums=('SKIP') depends=('gcc-libs') makedepends=('nasm' 'git' 'cmake') From 01d0e8bc6065d7b6de0e2e65cb75bc7201400f83 Mon Sep 17 00:00:00 2001 From: haawda Date: Mon, 23 Jan 2023 19:57:28 +0100 Subject: [PATCH 10/10] update --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 9d04485..6233901 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = ect pkgdesc = file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files. - pkgver = 0.9.3 + pkgver = 0.9.4 pkgrel = 1 url = https://github.com/fhanau/Efficient-Compression-Tool arch = i686 @@ -10,7 +10,7 @@ pkgbase = ect makedepends = git makedepends = cmake depends = gcc-libs - source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=230133d6a84149910f05b5d2c6e8ac3fff9de4a6 + source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=503409a4de166ad1544adcb5d4e48fef308a2727 md5sums = SKIP pkgname = ect diff --git a/PKGBUILD b/PKGBUILD index cac98ad..9b16335 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,13 +3,13 @@ pkgname=ect _pkgname=Efficient-Compression-Tool -pkgver=0.9.3 +pkgver=0.9.4 pkgrel=1 pkgdesc='file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.' url='https://github.com/fhanau/Efficient-Compression-Tool' arch=('i686' 'x86_64') license=('Apache') -source=("git+$url.git#commit=230133d6a84149910f05b5d2c6e8ac3fff9de4a6") +source=("git+$url.git#commit=503409a4de166ad1544adcb5d4e48fef308a2727") md5sums=('SKIP') depends=('gcc-libs') makedepends=('nasm' 'git' 'cmake')