adopted and updated
This commit is contained in:
parent
4e6ad6914c
commit
b95a4c8bf3
2 changed files with 27 additions and 21 deletions
13
.SRCINFO
13
.SRCINFO
|
@ -1,15 +1,16 @@
|
||||||
pkgbase = ect
|
pkgbase = ect
|
||||||
pkgdesc = Efficient Compression Tool (or ECT) is a ++ file optimizer. It supports PNG, JPEG, GZIP and ZIP files.
|
pkgdesc = file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.
|
||||||
pkgver = 0.8.2
|
pkgver = 0.8.3
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
url = https://github.com/fhanau/Efficient-Compression-Tool
|
url = https://github.com/fhanau/Efficient-Compression-Tool
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = Apache2
|
license = Apache
|
||||||
makedepends = nasm
|
makedepends = nasm
|
||||||
makedepends = git
|
makedepends = git
|
||||||
source = ect::git+https://github.com/fhanau/Efficient-Compression-Tool.git#tag=v0.8.2
|
depends = gcc-libs
|
||||||
sha256sums = SKIP
|
source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f0b38f7f8b750099f14d4976beff6a107d6119ac
|
||||||
|
md5sums = SKIP
|
||||||
|
|
||||||
pkgname = ect
|
pkgname = ect
|
||||||
|
|
||||||
|
|
35
PKGBUILD
35
PKGBUILD
|
@ -1,34 +1,39 @@
|
||||||
#Maintainer: William J. Bowman <aur@williamjbowman.com>
|
# Contributor: William J. Bowman <aur@williamjbowman.com>
|
||||||
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
|
||||||
|
|
||||||
pkgname=ect
|
pkgname=ect
|
||||||
pkgver=0.8.2
|
_pkgname=Efficient-Compression-Tool
|
||||||
pkgrel=2
|
pkgver=0.8.3
|
||||||
pkgdesc='Efficient Compression Tool (or ECT) is a ++ file optimizer. It supports PNG, JPEG, GZIP and ZIP files.'
|
pkgrel=1
|
||||||
|
pkgdesc='file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.'
|
||||||
url='https://github.com/fhanau/Efficient-Compression-Tool'
|
url='https://github.com/fhanau/Efficient-Compression-Tool'
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('Apache2')
|
license=('Apache')
|
||||||
source=("ect::git+https://github.com/fhanau/Efficient-Compression-Tool.git#tag=v${pkgver}")
|
source=("git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f0b38f7f8b750099f14d4976beff6a107d6119ac")
|
||||||
sha256sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
depends=('gcc-libs')
|
||||||
makedepends=('nasm' 'git')
|
makedepends=('nasm' 'git')
|
||||||
|
|
||||||
prepare(){
|
prepare() {
|
||||||
cd "${srcdir}/${pkgname}/src"
|
cd ${_pkgname}
|
||||||
|
git submodule init
|
||||||
git submodule update --init --recursive --recommend-shallow
|
git submodule update --init --recursive --recommend-shallow
|
||||||
cd mozjpeg
|
|
||||||
autoreconf -i
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}/src"
|
cd ${_pkgname}
|
||||||
|
[ -d build ] || mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -DECT_FOLDER_SUPPORT=off ../src
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}/src"
|
cd ${_pkgname}/src
|
||||||
|
|
||||||
PREFIX=/usr/ DESTDIR="${pkgdir}" make install
|
PREFIX=/usr/ DESTDIR="${pkgdir}" make install
|
||||||
cd "${pkgdir}"/usr/bin
|
cd "${pkgdir}"/usr/bin
|
||||||
|
|
||||||
# Some things expect this to be an all-caps name
|
# Some things expect this to be an all-caps name
|
||||||
ln -s ect ECT
|
ln -s ect ECT
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue