pull again from git, upstream's tarballs are broken

This commit is contained in:
haawda 2022-06-06 14:17:51 +02:00
parent 930a6fa66c
commit a9f0863f78
2 changed files with 10 additions and 10 deletions

View file

@ -1,15 +1,16 @@
pkgbase = ect pkgbase = ect
pkgdesc = file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files. pkgdesc = file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.
pkgver = 0.9.1 pkgver = 0.9.1
pkgrel = 1 pkgrel = 3
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 = Apache license = Apache
makedepends = nasm makedepends = nasm
makedepends = git
makedepends = cmake makedepends = cmake
depends = gcc-libs depends = gcc-libs
source = Efficient-Compression-Tool-0.9.1.tar.gz::https://github.com/fhanau/Efficient-Compression-Tool/archive/refs/tags/v0.9.1.tar.gz source = git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f920e54bb1b584d3c3d75d3d90d8cfedd04d2fbe
sha256sums = b4af4f1da55ca5ebc1f02029bb7fc7de9c6a45593d1866f35cdca839e01c1a1f md5sums = SKIP
pkgname = ect pkgname = ect

View file

@ -4,15 +4,15 @@
pkgname=ect pkgname=ect
_pkgname=Efficient-Compression-Tool _pkgname=Efficient-Compression-Tool
pkgver=0.9.1 pkgver=0.9.1
pkgrel=1 pkgrel=3
pkgdesc='file compressor, supports postcompression of PNG, JPEG, GZIP and ZIP files.' 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=('Apache') license=('Apache')
source=("${_pkgname}-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz") source=("git+https://github.com/fhanau/Efficient-Compression-Tool.git#commit=f920e54bb1b584d3c3d75d3d90d8cfedd04d2fbe")
sha256sums=('b4af4f1da55ca5ebc1f02029bb7fc7de9c6a45593d1866f35cdca839e01c1a1f') md5sums=('SKIP')
depends=('gcc-libs') depends=('gcc-libs')
makedepends=('nasm' 'cmake') makedepends=('nasm' 'git' 'cmake')
prepare() { prepare() {
cd ${_pkgname} cd ${_pkgname}
@ -29,9 +29,8 @@ build() {
} }
package() { package() {
cd ${_pkgname}/src cd ${_pkgname}/build
install -Dm755 ect "$pkgdir"/usr/bin/ect
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