Updated to 0.8.2-1

This commit is contained in:
William J. Bowman 2018-06-30 00:17:22 -04:00
commit a79be0ea10
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: DDD48D26958F0D1A
2 changed files with 48 additions and 0 deletions

14
.SRCINFO Normal file
View 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
View 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
}