From 694933893c9c17d058f3c11fdd4e44eaa1bce5be Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 3 Jul 2020 18:24:18 +0200 Subject: [PATCH] Fix license The license looks like a BSD-3-Clause: https://directory.fsf.org/wiki/License:BSD-3-Clause It is also packaged now. Signed-off-by: Denis 'GNUtoo' Carikli --- .SRCINFO | 4 ++-- PKGBUILD | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 7e05d3156882..0d1528494212 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,12 +1,12 @@ pkgbase = qdl pkgdesc = Tool to communicate with Qualcomm System On a Chip bootroms to install or execute code pkgver = 1.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/andersson/qdl arch = armv7h arch = i686 arch = x86_64 - license = GPL3 + license = BSD depends = libxml2 source = https://github.com/andersson/qdl/archive/v1.0.tar.gz sha512sums = 561b6ffaf26d063f107a0769b41d0ed02f1f6c4656b6284e653e8baf69b2f34d5f6051e54bb45ab55c028bb8bfa9b4e5218b796dbdb7ab7686576168b1b11d77 diff --git a/PKGBUILD b/PKGBUILD index 61a16300d003..489d4221b76b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,11 +6,11 @@ pkgname=qdl pkgver=1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Tool to communicate with Qualcomm System On a Chip bootroms to install or execute code" arch=('armv7h' 'i686' 'x86_64') url='https://github.com/andersson/qdl' -license=('GPL3') +license=('BSD') depends=('libxml2') source=("https://github.com/andersson/${pkgname}/archive/v${pkgver}.tar.gz") sha512sums=('561b6ffaf26d063f107a0769b41d0ed02f1f6c4656b6284e653e8baf69b2f34d5f6051e54bb45ab55c028bb8bfa9b4e5218b796dbdb7ab7686576168b1b11d77') @@ -23,4 +23,8 @@ build(){ package(){ cd "${srcdir}/${pkgname}-${pkgver}" make prefix="/usr" DESTDIR="${pkgdir}" install + + # install license + install -d "${pkgdir}/share/licenses/${pkgname}/" + install LICENSE "${pkgdir}/share/licenses/${pkgname}/" }