# Contributor: Ian Douglas Scott # Maintainer: Ian Douglas Scott pkgname=gprbuild pkgver=2019 pkgrel=1 pkgdesc="Builder for multi-language systems" arch="all !riscv64" # blocked by gcc-gnat url="https://github.com/AdaCore/gprbuild" license="GPL-3.0-or-later" depends="gcc-gnat" source="$pkgname-$pkgver.tar.gz::https://community.download.adacore.com/v1/0c03c05cef70b85144ba0e624a46e8952183b666?filename=gprbuild-2019-20190517-194D8-src.tar.gz xmlada-$pkgver.tar.gz::https://community.download.adacore.com/v1/ce0b67754f149cd230ba842effeff0ab3033ed0c?filename=xmlada-2019-20190429-19B9D-src.tar.gz" # gprbuild doesn't seem to have tests options="!check" _gprbuild_srcdir=$srcdir/$pkgname-$pkgver-20190517-194D8-src _xmlada_srcdir=$srcdir/xmlada-$pkgver-20190429-19B9D-src build() { cd $_gprbuild_srcdir DESTDIR="$PWD/dest" ./bootstrap.sh --prefix=/usr --with-xmlada=$_xmlada_srcdir } package() { mkdir -p "$pkgdir" cp -r $_gprbuild_srcdir/dest/usr "$pkgdir" } sha512sums="0388d7e6cdf625fef40b33da764091b3283dd88714c64ecfad4b5e99253f183b1a9b717c19281e6d45cc4277a05fadb2e2ace394d6f30638664b66c97123052b gprbuild-2019.tar.gz f8e0e25b0aee9a7a18223ae7761603082af55134f062c767d0cd0dbf0dbcb2058fc7c57532b567fb2c6efa464a53ead57b300578e98962025866e5c3ad73e380 xmlada-2019.tar.gz"