summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ba8b90afe505c186e9f173667d71943aef75d815 (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
# Maintainer: Rod Kay   <rodakay5 at gmail dot com>

pkgname=gnatstudio-bin
pkgver=20230501
pkgrel=1
pkgdesc="GNAT Programming Studio for Ada binary"

arch=(i686 x86_64)
url=https://github.com/AdaCore/gnatstudio
license=(GPL3)

depends=("python")
conflicts=("gnat-gps")

source=(https://github.com/AdaCore/gnatstudio/releases/download/gnatstudio-cr-20230501/GNAT_Studio-x86_64.AppImage
        COPYING3)

sha256sums=(133673bf478c7f3393f32af9a05d49fa816d4491e063550effaaf09dff245116
            8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903)


package() 
{
    options=(!strip)
   
    cd $srcdir

    ## Install the binary.
    #
    mkdir -p "$pkgdir/usr/bin"
    chmod a+x GNAT_Studio-x86_64.AppImage
    cp        GNAT_Studio-x86_64.AppImage "$pkgdir/usr/bin/gnatstudio"
    
    ## Install the license.
    #
    install -D -m644 \
       "COPYING3"    \
       "$pkgdir/usr/share/licenses/$pkgname/COPYING3"
}