Fix license install path

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2020-07-03 18:30:13 +02:00
parent 694933893c
commit e2cfe45a8e
No known key found for this signature in database
GPG key ID: 5F5DFCC14177E263
2 changed files with 6 additions and 5 deletions

View file

@ -1,7 +1,7 @@
pkgbase = qdl
pkgdesc = Tool to communicate with Qualcomm System On a Chip bootroms to install or execute code
pkgver = 1.0
pkgrel = 2
pkgrel = 3
url = https://github.com/andersson/qdl
arch = armv7h
arch = i686

View file

@ -6,7 +6,7 @@
pkgname=qdl
pkgver=1.0
pkgrel=2
pkgrel=3
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'
@ -24,7 +24,8 @@ 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}/"
# Package license
install -d "${pkgdir}/usr/share/licenses/${pkgname}/"
install LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
}