Add 'ect/' from commit '01d0e8bc6065d7b6de0e2e65cb75bc7201400f83'

git-subtree-dir: ect
git-subtree-mainline: f51b16e9a6
git-subtree-split: 01d0e8bc60
This commit is contained in:
Manuel 2024-01-08 19:10:26 +01:00
commit 5a575bd9b7
2 changed files with 54 additions and 0 deletions

16
ect/.SRCINFO Normal file
View file

@ -0,0 +1,16 @@
pkgbase = ect
pkgdesc = file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.
pkgver = 0.9.4
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=503409a4de166ad1544adcb5d4e48fef308a2727
md5sums = SKIP
pkgname = ect

38
ect/PKGBUILD Normal file
View file

@ -0,0 +1,38 @@
# Contributor: William J. Bowman <aur@williamjbowman.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=ect
_pkgname=Efficient-Compression-Tool
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=503409a4de166ad1544adcb5d4e48fef308a2727")
md5sums=('SKIP')
depends=('gcc-libs')
makedepends=('nasm' 'git' 'cmake')
prepare() {
cd ${_pkgname}
git submodule init
git submodule update --init --recursive --recommend-shallow
}
build() {
cd ${_pkgname}
[ -d build ] || mkdir build
cd build
cmake -DECT_FOLDER_SUPPORT=off ../src
make
}
package() {
cd ${_pkgname}/build
install -Dm755 ect "$pkgdir"/usr/bin/ect
cd "${pkgdir}"/usr/bin
# Some things expect this to be an all-caps name
ln -s ect ECT
}