summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Wilken2021-08-03 00:31:49 +0200
committerTimo Wilken2021-08-03 00:31:49 +0200
commitaee9e316c0bb515be9e09906d1b06d116bd715f2 (patch)
tree86bc6ce8b932f5dfe18215fd7fbc9becb2eaa8be
parentf27b8360e762d3a79c64b79fdd72ec263f7c1264 (diff)
downloadaur-aee9e316c0bb515be9e09906d1b06d116bd715f2.tar.gz
Install LICENSE.txt
LGPLv2.0 doesn't seem to be installed in /usr/share/licenses/common, so install it separately.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b6cf25951507..0191bae680dc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
pkgbase = libdecsync
pkgdesc = libdecsync is a multiplatform library for synchronizing using DecSync.
pkgver = 1.9.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/39aldo39/libdecsync
arch = x86_64
- license = LGPL2
+ license = custom:LGPL2
makedepends = jre8-openjdk
makedepends = ncurses5-compat-libs
source = libdecsync-1.9.0.tar.gz::https://github.com/39aldo39/libdecsync/archive/v1.9.0.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 2554a5a5d26c..3afa99caf222 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer: Timo Wilken <timo.21.wilken+aur@gmail.com>
pkgname=libdecsync
pkgver=1.9.0
-pkgrel=2
+pkgrel=3
pkgdesc='libdecsync is a multiplatform library for synchronizing using DecSync.'
arch=(x86_64)
url='https://github.com/39aldo39/libdecsync'
-license=(LGPL2)
+license=('custom:LGPL2')
depends=()
optdepends=()
makedepends=(jre8-openjdk ncurses5-compat-libs)
@@ -21,4 +21,5 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}