Updated to 0.8.2-1
This commit is contained in:
commit
a79be0ea10
2 changed files with 48 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
|
@ -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
|
||||||
|
|
34
PKGBUILD
Normal file
34
PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
#Maintainer: William J. Bowman <aur@williamjbowman.com>
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue