summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCullen2020-09-10 13:57:09 -0400
committerCullen2020-09-10 13:57:09 -0400
commitaa64ddb86cd29acda490f01439f339e0a013dfab (patch)
tree891784aa928e1965064be3f3a05df6f45189d051
parentac6338c10ada5c12f58bc6c025eb455c0e73d943 (diff)
downloadaur-aa64ddb86cd29acda490f01439f339e0a013dfab.tar.gz
Install license
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e8035b2059ab..f8d85579d2a0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cobib
pkgdesc = Console Bibliography
pkgver = 2.2.2
- pkgrel = 2
+ pkgrel = 3
url = https://gitlab.com/mrossinek/cobib
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 5bb88754d855..dec4df6f76b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=cobib
pkgver=2.2.2
-pkgrel=2
+pkgrel=3
pkgdesc="Console Bibliography"
arch=('any')
license=('MIT')
@@ -20,4 +20,5 @@ package() {
cd "${srcdir}/${pkgname}-v${pkgver}"
make install_extras
python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}