otfcc: update to 0.10.3alpha.

This commit is contained in:
Piotr Wójcik 2019-01-01 20:34:29 +01:00 committed by Helmut Pozimski
parent 1a1af03a5c
commit 09b36f1416
2 changed files with 8 additions and 8 deletions

View file

@ -1,9 +1,9 @@
# Template file for 'otfcc'
pkgname=otfcc
version=0.10.2alpha
version=0.10.3alpha
revision=1
_version=${version/alpha/-alpha}
wrksrc=${pkgname}-${_version}
_version="${version/alpha/-alpha}"
wrksrc="${pkgname}-${_version}"
build_style=gnu-makefile
make_build_args="-C build/gmake"
hostmakedepends="premake5"
@ -12,14 +12,12 @@ maintainer="Renato Aguiar <renato@renag.me>"
license="Apache-2.0"
homepage="https://github.com/caryll/otfcc"
distfiles="https://github.com/caryll/otfcc/archive/v${_version}.tar.gz"
checksum=3604d69e4b427c0e22e3a01acaaccc9b2ccd3df42bdcf52263fe201ce921463c
checksum=81f8b9b8108c415a645e7e8a407a028531346e61fb570fec541f4aaa4703b1e3
# Yes, there are architectures besides x86 and x64 :-P
case "$XBPS_TARGET_MACHINE" in
i686*) _platform="x86";;
x86_64*) _platform="x64";;
aarch64*) _platform="x64" ;;
arm*|mips*) _platform="x86";;
aarch64*|x86_64*) _platform="x64" ;;
arm*|i686*|mips*) _platform="x86";;
esac
pre_build() {

2
srcpkgs/otfcc/update Normal file
View file

@ -0,0 +1,2 @@
pattern='/archive/(v?|\Q'"$pkgname"'\E-)?\K[-\d\.a-z]+(?=\.tar\.gz")'
version="${version/alpha/.alpha}"