### this file is sourced not run
PKGVER=0.10.4
PKGBUILD=1
PKGARCH=x86_64

# source: step
TARBALL=otfcc-$PKGVER.tar.gz
MD5SUM=d77c0443dd0743ab592be6db3e7a643c
SRC_URL=https://github.com/caryll/otfcc/archive/v$PKGVER.tar.gz
BUNDLE=

SLACKREQ=''
SLACKDESC="otfcc: otfcc $PKGVER (font tool)
otfcc:
otfcc: The otfcc is a C library and utility used for parsing and writing OpenType
otfcc:  font files.
otfcc:
otfcc:
otfcc: License: Apache-2.0
otfcc: https://github.com/caryll/otfcc
otfcc:
otfcc:
otfcc:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/otfcc-* &&
	premake5 gmake &&
	( cd build/gmake && make config=release_x64 ) &&
	install -t /usr/bin -m755 bin/release-x64/otfcc{build,dump} &&
	pkg_build_slackdesc
}

# vim: ft=sh
