# Contributor: Shiz # Maintainer: Shiz setvar pkgname = 'yodl' setvar pkgver = '3.08.02' setvar pkgrel = '0' setvar pkgdesc = ""Pre-document language and tools to process it"" setvar url = ""https://fbb-git.github.io/yodl/"" setvar arch = ""all"" setvar license = ""GPL2"" setvar makedepends = ""icmake bash perl flex bison"" setvar subpackages = ""$pkgname-doc"" setvar source = ""yodl-$pkgver.tar.gz::https://github.com/fbb-git/yodl/archive/$pkgver.tar.gz"" setvar builddir = ""$srcdir/yodl-$pkgver/yodl"" proc prepare { cd $builddir sed -i 's!DOCDOC\s*=.*$!DOCDOC = BASE + "/share/doc/yodl";!g' INSTALL.im } proc build { cd $builddir local module; for module in programs macros man { ./build $module } } proc check { cd $builddir # yodl likes to exit with a non-zero exit status with --version. ./tmp/install/usr/bin/yodl --version | grep -q 'yodl version' } proc package { cd $builddir local module; for module in programs macros man { ./build install $module $pkgdir } } setvar sha512sums = ""adad9f6235288f0ae6990c0dbba3cd7c8461172ae83231ca8fa113275d04ad20d3722e70f6f0ffcf072a19b4816e556b9b09227123516fc4a0170bc053b48b8e yodl-3.08.02.tar.gz""