diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-07-03 18:20:47 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-07-03 18:34:12 +0200 |
commit | 61d17a07fb664b73788294ae524021e4a55ea17c (patch) | |
tree | a1fc91455bee6bffd2513257bfa3a06898c82b3c | |
parent | 7e2f17159f98301f0325ee91f345d28a7a95c888 (diff) | |
download | abslibre-61d17a07fb664b73788294ae524021e4a55ea17c.tar.gz abslibre-61d17a07fb664b73788294ae524021e4a55ea17c.tar.bz2 abslibre-61d17a07fb664b73788294ae524021e4a55ea17c.zip |
Import qdl from AUR
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | pcr/qdl/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/qdl/PKGBUILD b/pcr/qdl/PKGBUILD new file mode 100644 index 000000000..269ada8e0 --- /dev/null +++ b/pcr/qdl/PKGBUILD @@ -0,0 +1,34 @@ +# Copyright (C) 2019 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +pkgname=qdl +pkgver=1.0 +pkgrel=4 +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=('BSD') +depends=('libxml2') +source=("https://github.com/andersson/${pkgname}/archive/v${pkgver}.tar.gz") +sha512sums=('561b6ffaf26d063f107a0769b41d0ed02f1f6c4656b6284e653e8baf69b2f34d5f6051e54bb45ab55c028bb8bfa9b4e5218b796dbdb7ab7686576168b1b11d77') + +build(){ + cd "${srcdir}/${pkgname}-${pkgver}" + make +} + +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + make prefix="/usr" DESTDIR="${pkgdir}" install + + # Package license + install -d "${pkgdir}/usr/share/licenses/${pkgname}/" + install LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" + + # Package documentation + install -d "${pkgdir}/usr/share/doc/${pkgname}/" + install README "${pkgdir}/usr/share/doc/${pkgname}/" +} |