Compare commits

...

12 commits

Author SHA1 Message Date
ecd597da60
upgpkg: ect 0.9.5-1
upstream release
2024-01-08 19:57:58 +01:00
5a575bd9b7 Add 'ect/' from commit '01d0e8bc6065d7b6de0e2e65cb75bc7201400f83'
git-subtree-dir: ect
git-subtree-mainline: f51b16e9a6
git-subtree-split: 01d0e8bc60
2024-01-08 19:10:26 +01:00
haawda
01d0e8bc60 update 2023-01-23 19:57:28 +01:00
haawda
676e3742ba new version 2022-08-23 18:15:49 +02:00
haawda
38bcdca8c3 update 2022-08-15 12:28:45 +02:00
haawda
a9f0863f78 pull again from git, upstream's tarballs are broken 2022-06-06 14:17:51 +02:00
haawda
930a6fa66c update 2022-06-01 19:39:40 +02:00
haawda
e201121a04 update 2022-05-28 12:54:12 +02:00
haawda
19e4faf770 added cmake to makedepends 2020-04-02 10:33:19 +02:00
haawda
b95a4c8bf3 adopted and updated 2020-03-30 17:22:25 +02:00
William J. Bowman
4e6ad6914c
Updated to 0.8.2-2
Added git to make-depends
2019-06-29 21:18:02 -07:00
William J. Bowman
a79be0ea10
Updated to 0.8.2-1 2018-06-30 00:29:21 -04:00
2 changed files with 60 additions and 0 deletions

19
ect/.SRCINFO Normal file
View file

@ -0,0 +1,19 @@
pkgbase = ect
pkgdesc = File compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files
pkgver = 0.9.5
pkgrel = 1
url = https://github.com/fhanau/efficient-compression-tool
arch = x86_64
license = Apache
makedepends = nasm
makedepends = git
makedepends = cmake
depends = gcc-libs
source = git+https://github.com/fhanau/efficient-compression-tool.git#tag=v0.9.5
source = git+https://github.com/glennrp/libpng.git#commit=f135775ad4e5d4408d2e12ffcc71bb36e6b48551
source = git+https://github.com/fhanau/mozjpeg.git#commit=182457e3e26e1e078d5dbd09137cf04865be2e49
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
pkgname = ect

41
ect/PKGBUILD Normal file
View file

@ -0,0 +1,41 @@
# Maintainer: Manuel Hüsers <aur@huesers.de>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: William J. Bowman <aur@williamjbowman.com>
pkgname=ect
_pkgname=efficient-compression-tool
pkgver=0.9.5
pkgrel=1
pkgdesc='File compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files'
url="https://github.com/fhanau/$_pkgname"
arch=('x86_64')
license=('Apache')
depends=('gcc-libs')
makedepends=('nasm' 'git' 'cmake')
source=("git+$url.git#tag=v$pkgver"
'git+https://github.com/glennrp/libpng.git#commit=f135775ad4e5d4408d2e12ffcc71bb36e6b48551'
'git+https://github.com/fhanau/mozjpeg.git#commit=182457e3e26e1e078d5dbd09137cf04865be2e49')
sha512sums=('SKIP'
'SKIP'
'SKIP')
prepare() {
cd "$_pkgname"
git submodule init
git config submodule.lib/libpng.url "$srcdir"/src/libpng
git config submodule.lib/mozjpeg.url "$srcdir"/src/mozjpeg
git -c protocol.file.allow=always submodule update
}
build() {
cmake -B build -S "$_pkgname"/src \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
# Some things expect this to be an all-caps name
ln -s ect "$pkgdir"/usr/bin/ECT
}