summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 02d309e9fb629502ba82c39f316e73efaf951772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Maintainer: Tim Lagnese <tim at inept tech>

pkgname=alire
pkgver=1.1.1
pkgrel=1
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=(gnatcoll-core)
makedepends=(git gprbuild)
source=("$pkgname-$pkgver.tar.gz::https://github.com/alire-project/alire/archive/refs/tags/v$pkgver.tar.gz"
alire.patch
git+https://github.com/alire-project/xmlezout.git#commit=1fcbd0b9303d044d8f09a8ef652afa8c0400ee8b
git+https://github.com/mosteo/ajunitgen.git#commit=e5d01db5e7834d15c4066f0a8e33d780deae3cc9
git+https://github.com/mosteo/aaa.git#commit=12201a008c07e6ef0e4f21d327c941bed97d7166
git+https://github.com/alire-project/semantic_versioning.git#commit=fe4e72e40786589a66d53662639f894fcdb3419c
git+https://github.com/alire-project/simple_logging.git#commit=02a7de7568af6af7cedd1048901fae8e9477b1d9
git+https://github.com/pmderodat/ada-toml.git#commit=ff7a848dff4c061e5fc6199665effb76a0e09f68
git+https://github.com/alire-project/gnatcoll-core.git#commit=e250e4e42d9743b782788cf61b4ddc10a45e69e2
git+https://github.com/mosteo/ansi-ada#commit=acf9afca3afe1f8b8843c061f3cef860d7567307
git+https://github.com/mosteo/uri-ada.git#commit=b61eba59099b3ab39e59e228fe4529927f9e849e
git+https://github.com/mosteo/minirest#commit=4550aa356d55b9cd55f26acd34701f646021c5ff
git+https://github.com/Fabien-Chouteau/spdx_ada#commit=2df9b1182544359c751544e52e14c94830d99fa6
git+https://github.com/HeisenbugLtd/si_units#commit=39de6478ba6d63c24dd34dd7205a6ce2cb971703
git+https://github.com/alire-project/clic#commit=32a93777a3e1796534e07c59966075a3d6f4f503
git+https://github.com/mosteo/optional#commit=0c7d20c0c8b48ccb6b25fb648d48382e598c25c3
git+https://github.com/mosteo/stopwatch#commit=b43f3e6e6fdc8ed5d36c30d1ce57738989a45977
git+https://github.com/mosteo/toml_slicer#commit=1c0286bd724c6f257a36fc89412fcefd4f555228
)
b2sums=('1d8f5125d9420206c8c302edfa1275bccdd469bb69d1d323d6aa10529c1b6831c2d6da5b57d49223a935f3650125e5ed6da3683d2cca55c4a77ecd2d2a82b998'
        'ed26931226df0009965e75aedf726f6ccd76766b4108ebf99895e1afff28d35122a4bee953d43713564ffaea67fb28bcea381602fcc457e84de94326710a613f'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP'
        'SKIP')

prepare()
{
  # Get the submodules from the sources above
  cd "$srcdir/$pkgname-$pkgver"
  patch --strip=1 < "$srcdir/alire.patch"
}

build() {
  cd "$srcdir/$pkgname-$pkgver"
  gprbuild -j0 -P alr_env -cargs -gnatws
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  gprinstall -P alr_env -p --prefix="$pkgdir/usr"
}

# vim:set ts=2 sw=2 et: