Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@charlie5
Created June 6, 2021 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save charlie5/06868cd1be330860daa7617aa94d1b41 to your computer and use it in GitHub Desktop.
Save charlie5/06868cd1be330860daa7617aa94d1b41 to your computer and use it in GitHub Desktop.
# Maintainer: Tim Lagnese <tim at inept tech>
pkgname=alire
pkgver=1.0.0
pkgrel=3
pkgdesc="A catalog of ready-to-use Ada libraries plus a command-line tool (alr) to obtain, build, and incorporate them into your own projects. It aims to fulfill a similar role to Rust's cargo or OCaml's opam."
arch=('i686' 'x86_64')
url="https://alire.ada.dev/"
license=(GPL3)
depends=(glibc)
makedepends=(git gprbuild)
source=("https://github.com/alire-project/alire/archive/refs/heads/master.zip"
alire.patch
git+https://github.com/alire-project/xmlezout.git
git+https://github.com/mosteo/ajunitgen.git
git+https://github.com/mosteo/aaa.git
git+https://github.com/alire-project/semantic_versioning.git
git+https://github.com/alire-project/simple_logging.git
git+https://github.com/pmderodat/ada-toml.git
git+https://github.com/alire-project/gnatcoll-core.git
git+https://github.com/alire-project/libhello.git
git+https://github.com/mosteo/ansi-ada
git+https://github.com/mosteo/uri-ada.git
git+https://github.com/mosteo/minirest
git+https://github.com/Fabien-Chouteau/spdx_ada)
b2sums=('96d7ac8d3b17ed62e41e86e45d11fff0d9c5a6299a59f62c5afae941ef2809b09817d73c3ae665ca003823777aba4090d8f8431a0d9b180a5ae27fe627d42c52'
'898ec902aab5e8d80b12c4b481224dfbc92a3acef049b0ca93db39b8303fefb172fb1e8d933f3dad936d4f3d7fa84c46c4119ad1f28d97cb2a11bf2f6c4681d3'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
prepare()
{
# Get the submodules from the sources above
cd "$srcdir/$pkgname-master"
git apply "$srcdir/alire.patch"
}
build() {
cd "$srcdir/$pkgname-master"
gprbuild -j0 -P alr_env -cargs -gnatws
}
package() {
cd "$srcdir/$pkgname-master"
gprinstall -P alr_env -p --prefix="$pkgdir/usr"
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment