blob: 60489e5219ff8355fd2a4b1296a888f59fddbbfb (
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
|
# Maintainer: Rod Kay <rodakay5 at gmail dot com>
# Contributor: Pierre-Marie de Rodat <pmderodat on #ada at freenode.net>
pkgname=libadalang-tools
pkgdesc='Libadalang-based tools for Ada: gnatpp, gnatmetric and gnatstub.'
pkgver=25.0w
pkgrel=1
epoch=1
url=https://github.com/AdaCore/libadalang-tools
arch=(i686 x86_64)
license=(GPL3)
depends=(libadalang templates_parser libvss)
makedepends=(gprbuild gpr which)
source=(https://github.com/charlie5/archlinux-gnatstudio-support/raw/main/gnatstudio-sources-2024/$pkgname-$pkgver-20240408-1625A-src.tar.gz)
sha256sums=(931f5bfef6abf00117d44a176601176dffbf6f5903087e7c62badb4f98c3b08b)
build()
{
cd $srcdir/$pkgname-$pkgver-20240505-16471-src
export BUILD_MODE=prod
make lib
LIBRARY_TYPE=relocatable \
make bin
}
package()
{
cd $srcdir/$pkgname-$pkgver-20240505-16471-src
export DESTDIR=$pkgdir/usr
export BUILD_MODE=prod
make install-lib
make install-bin-strip
# Install the licenses.
#
install -D -m644 \
LICENSE \
$pkgdir/usr/share/licenses/$pkgname/LICENSE
install -D -m644 \
COPYING3 \
$pkgdir/usr/share/licenses/$pkgname/COPYING3
}
|