blob: 93122814195de1e173be0faac0e27f7a26d734ac (
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
# Maintainer: Tim Lagnese <tim at inept tech>
pkgname=alire
pkgver=2.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=(unzip)
makedepends=(git gprbuild)
checkdepends=(python-e3-testsuite python-pexpect python-toml)
source=("$pkgname-$pkgver.tar.gz::https://github.com/alire-project/alire/archive/refs/tags/v$pkgver.tar.gz"
alire.patch
git+https://github.com/mosteo/aaa.git#commit=73d99ae1ff2f5210dc41c2ea7afebe600f9e9916
git+https://github.com/pmderodat/ada-toml.git#commit=33eaab64b9d531e240c3f525ad80a1f3eb8b9633
git+https://github.com/mosteo/ajunitgen.git#commit=e5d01db5e7834d15c4066f0a8e33d780deae3cc9
git+https://github.com/mosteo/ansi-ada#commit=0772e48d3e1f640829d142745a36b37edcd5470b
git+https://github.com/alire-project/clic#commit=56bbdc008e16996b6f76e443fd0165a240de1b13
git+https://github.com/mosteo/cstrings#commit=e4d58ad90bf32bc44304197e5906a519f5a9a7bf
git+https://github.com/mosteo/den#commit=32225955994267799495262f7cac479b6cd22fd3
git+https://github.com/mosteo/dirty_booleans#commit=05c40d88ecfe109e575ec8b21dd6ffa2e61df1dc
git+https://github.com/mosteo/diskflags#commit=60729edf31816aca0036b13b2794c39a9bd0172e
git+https://github.com/alire-project/gnatcoll-core.git#commit=4e663b87a028252e7e074f054f8f453661397166
git+https://github.com/mosteo/lml_ada#commit=3d79edaff98bc4985014c641327ceb22d655df6b
git+https://github.com/mosteo/minirest#commit=9a9c660f9c6f27f5ef75417e7fac7061dff14d78
git+https://github.com/mosteo/optional#commit=7b8132a09a6c3c467409ab15d34fac605b1e5711
git+https://github.com/alire-project/semantic_versioning.git#commit=4861e32bd8a2f0df038d3ecc9a72b6381e7a34cc
git+https://github.com/mosteo/si_units#commit=9329d2591b82440ccc859a53f1380ac07ea4194d
git+https://github.com/alire-project/simple_logging.git#commit=f45bf378588dc1d0479cc24eb0eb41dc99f69cb4
git+https://github.com/Fabien-Chouteau/spdx_ada#commit=2df9b1182544359c751544e52e14c94830d99fa6
git+https://github.com/mosteo/stopwatch#commit=f607a63b714f09bbf6126de9851cbc21cf8666c9
git+https://github.com/mosteo/toml_slicer#commit=3e5cbdb5673b85a1da6344a41764ef1cbafe3289
git+https://github.com/mosteo/umwi.git#commit=32496c15fe4fbb6cdab54ea11fbb0815549d2d48
git+https://github.com/mosteo/uri-ada.git#commit=02a0780d7757e9e79b3410c3a34960655cacea3d
git+https://github.com/alire-project/xmlezout.git#commit=1fcbd0b9303d044d8f09a8ef652afa8c0400ee8b
git+https://github.com/mosteo/yeison#commit=20033cf90a3eb2eff69d9ff9d0820291aed79b57
)
b2sums=('4c83c20af2c293314a530f60fef54a1d510059e3e1f7f8db515e18408828043540a92370dd11a6777b1027df918400ce26a1666ef8b178d5d6fb96efd95725f6'
'2ef941d276c9fdb0b85f7a0fe441686d4d5e121f90e27dd880d9edcacc156015b9a29015169a1829b468c618fb03d50b52450303621320a9003a86fd3f9284f3'
'7f17381597b9c81ea3bd1d95132868340352b9bd811ff0e02cf620d6c01274e815e9e03cad94fb88ec77047d77506cf96c7a324d3d8f74c81fb0e9213497f01c'
'c4614584bc8b00d691f05d141da996ba57ec04da69db88d2926fc212c87efd84b2e97b9bb318294957374880cf29f5f26b65eef4f598be54aaca0113313c1b88'
'c46d3b2dbfb4cf36fccca90f4c546a5121e4be34c5b8cda45e65d4e7296840789bb4c8979155861ca7e386ba318df84f81b9551653bbf1953b475b23a294597d'
'31ef7b6d8c7419f71bbc99119865f92d7af460861523fc5cfd294f8143303e7f72503c13795250637eecadd94050fe59313f440c0f4a4396c967af79b25a41cc'
'3786dcc29c882c72f6c80d177acd0ca7a1a4a1313ee51da708e8f1b01def8d524be885d91481c3f92d8b3adb5aa752a1fcc4a31b497e319984c3204e180467da'
'035744149ec76b65c76ef2e08a47cdda8f30d5bf7f2dfb9708927c835219dbddf3b57aea983876d4cd5daebd3a91344bb30b41956206cb10cf90624acaa54a76'
'495150990a2ff882e870f9fc08422c2e046017f352e087f93b3752531e667c07276df45d3c54941ccbef39fa5ade69193d5bc375cfb6ade9d9a11b01d2539833'
'123cb42b288de868bcd7e97057dfa851639e75976b4df0d6e668230ca89ae50afdf5f85cdb15c1fbfc2d921eef1a464d6ad106d97bc5deac0eca189d7ae65736'
'ed3edbbcd9a8826428e77d4b3e23ebfd2f0dafefcfe129070725b0382a6d52349a31742c6beaa32c6d58caf117a36c6aa731e3930237909fb9cb5f2c8fbd1c4f'
'ae22a179cafd88438d1b2f57be6f37515176bd00e3dbebdfdc587bcc81d5b7034b0090608f6a1e2786a4f2f1b35b9481c1f6a08e919d10cd951b9e482f2257f6'
'f3a7368a0a6a05da7d9c848504385eb667fb85f358b4b495d6e1a658e1c637e3eb11340e3e939e4fa1dd0070caa3b55e3097a76245d74d7d259f98e9fc5eff85'
'a43e64fef4481de0293f69fc194b600fc64f7e2d6d70f61f2c643e1717db9d6c50cfac2a292b25e8d8cb1707c10b7c4bfa4a406292aee8526ad47985b69a34c9'
'd8a3e2eaeed5def7b69add5eb39f45a141ff586e9a796eff28ec65b3816a7765d99e65169976af938a01e26297ca679c921cb293e1739312a4ea95a38c6da135'
'883cf4a0dadd1d67a12f79a1d7ee51911dab048e509c6d2dbd915701d28156c72de5ff745c37acb2865f67f8d573de0e0207b4f4b86bd085f9c33ee622769458'
'5cff57253260d011f014d4d82363d1d9f9288ab5630f63ed0ac9314381784cfe4ff1f4f1763e6f943cfadc944b58248fd9a1d4260ab4974d27d0bc13f4354769'
'e96646eec63e9db8592bb6dde9b9eec91d4f9f359654a250162b3c2d79b016229069ead6ea65d755ef68f38326f487f0c8f6ea763a027917bf955e322d97a5c7'
'f75890082fbe661fd0a2a18f9734b825e9519d9030611aa2e3b246f2f0a25721d45dc7c550296d81eadd8387d4baf926fbbb7a6cb77a2dc9c35835eb6c013fc4'
'196eb6045eeb4d1a538d1058883e1620f104c655c6cccaaaf66eebedd3e62a5980b1ed40e2b942608c60f02a92899390750a10553ff8b57986c7255b92b1c390'
'8cd2b0179993098a5fd29ceb67be01a8c21d504cae5173565c1048fb4cc6df0e2510e7fc46bfc1cac7a30b4dbce717085713de5df3e5a8f56ca70232383dc094'
'feb53f76a7225faa99b50fcae8cf9eb78875ab7eb55e74a6d827aed987517396dac666e7ac77a65f5a2f0be2a2e2617757fb65570b57571dbeefcd91d730f651'
'9b8068065ffd94f04b1d39145621469524ce681a786bf0c33f079d8570b81436f0e13100e34bf4d2ddab96cf94c85f548fafcb930ca9198cfe7e276713abecc1'
'178b0f0bae8f22a8ed8abe6012b306d7be6cc57ad52710196497d313b182d5ad888821e2da8145ea3d49fd1867ced2c85f23d5d31d179440070362a4552caee4'
'40f88169ac8957d621b1d31af6e229b29ee8523b8cf02dd39d4f573316342dfd3fd93a84f1cfc6ce1289eff4653aedaae2f66f17b0800ee021d8969dbf412e74')
prepare()
{
# Get the submodules from the sources above
patch --strip=1 < "$srcdir/alire.patch"
}
build() {
cd "$srcdir/$pkgname-$pkgver"
gprbuild -j0 -P alr_env -XALIRE_OS=linux
}
check() {
cd "$srcdir/$pkgname-$pkgver/testsuite"
./run.py
}
package() {
cd "$srcdir/$pkgname-$pkgver"
gprinstall -P alr_env -p --prefix="$pkgdir/usr" -XALIRE_OS=linux
install -D scripts/alr-completion.bash "$pkgdir/usr/share/bash-completion/completions/alr"
}
# vim:set ts=2 sw=2 et:
|