Compare commits
No commits in common. "ecd597da60ca03e48669df2f48d4874cf3368cb7" and "f51b16e9a6af9a6373b231d847326803aec8d327" have entirely different histories.
ecd597da60
...
f51b16e9a6
2 changed files with 0 additions and 60 deletions
19
ect/.SRCINFO
19
ect/.SRCINFO
|
@ -1,19 +0,0 @@
|
||||||
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
41
ect/PKGBUILD
|
@ -1,41 +0,0 @@
|
||||||
# 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
|
|
||||||
}
|
|
Loading…
Reference in a new issue