kaitai-struct-compiler: remove usage of XBPS_FETCH_CMD
This commit is contained in:
parent
ed483d0519
commit
7c3a1fed96
|
@ -3,17 +3,15 @@ pkgname=kaitai-struct-compiler
|
||||||
version=0.8
|
version=0.8
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
hostmakedepends="wget unzip"
|
hostmakedepends="unzip"
|
||||||
depends="virtual?java-environment"
|
depends="virtual?java-environment"
|
||||||
short_desc="Compiler for the Kaitai declarative binary format parsing language"
|
short_desc="Compiler for the Kaitai declarative binary format parsing language"
|
||||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://kaitai.io"
|
homepage="http://kaitai.io"
|
||||||
distfiles="https://bintray.com/kaitai-io/universal/download_file?file_path=$version%2F$pkgname-$version.zip"
|
distfiles="https://bintray.com/kaitai-io/universal/download_file?file_path=${version}%2F${pkgname}-${version}.zip"
|
||||||
checksum=545fc10e134db2901cad8817be1b440fca6f2bad8b92b2948ebe0647f3ffa2c9
|
checksum=545fc10e134db2901cad8817be1b440fca6f2bad8b92b2948ebe0647f3ffa2c9
|
||||||
|
|
||||||
XBPS_FETCH_CMD=wget
|
|
||||||
|
|
||||||
pre_install() {
|
pre_install() {
|
||||||
# patch libdir
|
# patch libdir
|
||||||
sed -i 's|lib_dir=.*|lib_dir="/usr/share/java/kaitai-struct-compiler"|g' bin/$pkgname
|
sed -i 's|lib_dir=.*|lib_dir="/usr/share/java/kaitai-struct-compiler"|g' bin/$pkgname
|
||||||
|
|
Loading…
Reference in New Issue