diff options
author | Rod Kay | 2021-06-21 14:53:56 +1000 |
---|---|---|
committer | Rod Kay | 2021-06-21 14:53:56 +1000 |
commit | d6338c7027cc6236b174d23d3c5475faaffad0bc (patch) | |
tree | 79d98136c2a37c27311a25d356b692dd18f78f64 | |
parent | 9b2e40808de5a9587deeaab74a06148e0190f8a3 (diff) | |
download | aur-d6338c7027cc6236b174d23d3c5475faaffad0bc.tar.gz |
Add licenses.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 15 insertions, 5 deletions
@@ -1,16 +1,16 @@ pkgbase = gnatcoll-sql pkgdesc = GNAT Components Collection - SQL database support pkgver = 21.0.0 - pkgrel = 2 + pkgrel = 3 epoch = 1 url = https://github.com/AdaCore/gnatcoll-db/ arch = i686 arch = x86_64 - license = GPL + license = GPL3 + license = custom makedepends = gprbuild depends = gnatcoll-core source = gnatcoll-db-21.0.0.tar.gz::https://github.com/AdaCore/gnatcoll-db//archive/v21.0.0.tar.gz sha256sums = 380abb79f49510b2bea461fbe3af1966cf82c3ad738791bcb870dc575583a136 pkgname = gnatcoll-sql - @@ -4,13 +4,13 @@ pkgname=gnatcoll-sql epoch=1 pkgver=21.0.0 -pkgrel=2 +pkgrel=3 _repo_name=gnatcoll-db pkgdesc='GNAT Components Collection - SQL database support' url='https://github.com/AdaCore/gnatcoll-db/' arch=('i686' 'x86_64') -license=('GPL') +license=('GPL3' 'custom') depends=('gnatcoll-core') makedepends=('gprbuild') @@ -33,4 +33,14 @@ package() # Make one install at a time to avoid GPRinstall reading/writing to # the same installed project files at the same time. make prefix="$pkgdir/usr" install -j1 + + # Install the license. + install -D -m644 \ + "../COPYING3" \ + "$pkgdir/usr/share/licenses/$pkgname/COPYING3" + + # Install the custom license. + install -D -m644 \ + "../COPYING.RUNTIME" \ + "$pkgdir/usr/share/licenses/$pkgname/COPYING.RUNTIME" } |