diff options
author | Rod Kay | 2021-06-21 15:41:07 +1000 |
---|---|---|
committer | Rod Kay | 2021-06-21 15:41:07 +1000 |
commit | e8a517c0410426e2cdb88589bb5b4b88651628de (patch) | |
tree | 29ae8b1f13e27aa1431695bc168b338af61d13b2 /PKGBUILD | |
parent | 41a28c8634210dd30db911dba329a563b41306aa (diff) | |
download | aur-e8a517c0410426e2cdb88589bb5b4b88651628de.tar.gz |
Install licenses.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -10,7 +10,7 @@ _repo_name=gnatcoll-db pkgdesc='GNAT Components Collection - Tool to support parsing *.ali and *.gli files.' url='https://github.com/AdaCore/gnatcoll-db/' arch=('i686' 'x86_64') -license=('GPL') +license=('GPL3' 'custom') depends=('gnatcoll-core' 'gnatcoll-iconv' 'gnatcoll-sqlite') 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" } |