# Maintainer: Konstantin Gizdov # Controbutor: Baptiste Jonglez # Contributor: nl6720 # Contributor: Andreas B. Wagner # Contributor: Eric Belanger # Contributor: Jeff Mickey pkgname=yodl pkgver=4.03.03 pkgrel=2 pkgdesc='Implements a pre-document language and tools to process it.' arch=('x86_64') url='https://fbb-git.gitlab.io/yodl/' license=('GPL3') depends=('bash') makedepends=('icmake') source=("https://gitlab.com/fbb-git/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") sha512sums=('5ba3a70152e3820dc08e2da821f357ec00c1f0f500e52bc4cc5a36f5d4ea8cdc13d564f5678a306cfb621d30bc53dd85f6756a6bbfd6825f63237d9217deaf3b') build() { cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}" CXXFLAGS+=' --std=c++20' export CXXFLAGS ./build programs ./build macros ./build man ./build html } package() { cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}" ./build install programs "${pkgdir}" ./build install macros "${pkgdir}" ./build install man "${pkgdir}" ./build install manual "${pkgdir}" }