diff options
author | Rod Kay | 2021-06-22 09:56:44 +1000 |
---|---|---|
committer | Rod Kay | 2021-06-22 09:56:44 +1000 |
commit | 19210ab07dfbdc6ed002f7d8dce25e444b680ed4 (patch) | |
tree | 068707c13c18288e97a96f8bdd7639fe6db20b35 /PKGBUILD | |
parent | d4964fddc089b4d065588773de2e41a48332346e (diff) | |
download | aur-19210ab07dfbdc6ed002f7d8dce25e444b680ed4.tar.gz |
Install the licenses.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -9,7 +9,7 @@ pkgdesc="A high performance semantic engine for the Ada programming language." arch=('i686' 'x86_64') url="https://github.com/AdaCore/libadalang" -license=('GPL') +license=('GPL3' 'custom') depends=("gnatcoll-core" "gnatcoll-iconv" "gnatcoll-gmp") makedepends=('gprbuild' 'python-setuptools' 'python-mako' 'python-funcy' 'python-e3-core' 'python-docutils') @@ -43,6 +43,16 @@ package() python ada/manage.py install --build-mode=prod "$pkgdir/usr" + # 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" + # Install the Python binding cd build/python python setup.py install --root="$pkgdir" |