mirror of
https://github.com/archlinux/aur.git
synced 2026-02-08 13:12:02 +01:00
Initial build (2.4)
This commit is contained in:
parent
039dc64960
commit
328bed8845
4 changed files with 57 additions and 30 deletions
19
.SRCINFO
19
.SRCINFO
|
|
@ -1,15 +1,16 @@
|
|||
pkgbase = qdl
|
||||
pkgdesc = Tool to communicate with Qualcomm System On a Chip bootroms to install or execute code
|
||||
pkgver = 1.0
|
||||
pkgrel = 5
|
||||
url = https://github.com/andersson/qdl
|
||||
arch = armv7h
|
||||
arch = i686
|
||||
pkgver = 2.4
|
||||
pkgrel = 1
|
||||
url = https://github.com/linux-msm/qdl
|
||||
arch = aarch64
|
||||
arch = x86_64
|
||||
license = BSD3
|
||||
license = BSD-3-Clause
|
||||
makedepends = help2man
|
||||
depends = glibc
|
||||
depends = libusb
|
||||
depends = libxml2
|
||||
source = https://github.com/andersson/qdl/archive/v1.0.tar.gz
|
||||
sha512sums = 561b6ffaf26d063f107a0769b41d0ed02f1f6c4656b6284e653e8baf69b2f34d5f6051e54bb45ab55c028bb8bfa9b4e5218b796dbdb7ab7686576168b1b11d77
|
||||
source = https://github.com/linux-msm/qdl/archive/refs/tags/v2.4/qdl-2.4.tar.gz
|
||||
b2sums = 691dc7e6625ea7c19c62aed41a4bb6c63b8371c1f1182b88e5b0173b8cd5e5799e23ef99e4c09f82cd5d4060bc5b48e96a607ee9d6e19104a5d42c4adc797d82
|
||||
|
||||
pkgname = qdl
|
||||
|
||||
|
|
|
|||
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
*
|
||||
!PKGBUILD
|
||||
!.SRCINFO
|
||||
!.gitignore
|
||||
!.nvchecker.toml
|
||||
4
.nvchecker.toml
Normal file
4
.nvchecker.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[qdl]
|
||||
source = "git"
|
||||
git = "https://github.com/andersson/qdl.git"
|
||||
prefix = "v"
|
||||
59
PKGBUILD
59
PKGBUILD
|
|
@ -1,32 +1,49 @@
|
|||
# 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 CC0 1.0 License.
|
||||
# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
|
||||
|
||||
pkgname=qdl
|
||||
pkgver=1.0
|
||||
pkgrel=5
|
||||
pkgname="qdl"
|
||||
pkgver=2.4
|
||||
pkgrel=1
|
||||
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=('BSD3')
|
||||
depends=('libxml2')
|
||||
source=("https://github.com/andersson/${pkgname}/archive/v${pkgver}.tar.gz")
|
||||
sha512sums=('561b6ffaf26d063f107a0769b41d0ed02f1f6c4656b6284e653e8baf69b2f34d5f6051e54bb45ab55c028bb8bfa9b4e5218b796dbdb7ab7686576168b1b11d77')
|
||||
arch=(
|
||||
'aarch64'
|
||||
'x86_64'
|
||||
)
|
||||
url="https://github.com/linux-msm/${pkgname}"
|
||||
license=(
|
||||
'BSD-3-Clause'
|
||||
)
|
||||
depends=(
|
||||
'glibc'
|
||||
'libusb'
|
||||
'libxml2'
|
||||
)
|
||||
makedepends=(
|
||||
'help2man'
|
||||
)
|
||||
_pkgsrc="${pkgname}-${pkgver}"
|
||||
source=(
|
||||
"${url}/archive/refs/tags/v${pkgver}/${_pkgsrc}.tar.gz"
|
||||
)
|
||||
b2sums=('691dc7e6625ea7c19c62aed41a4bb6c63b8371c1f1182b88e5b0173b8cd5e5799e23ef99e4c09f82cd5d4060bc5b48e96a607ee9d6e19104a5d42c4adc797d82')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_pkgsrc}"
|
||||
sed -e 's/-O2//g' \
|
||||
-i 'Makefile'
|
||||
}
|
||||
|
||||
build(){
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
cd "${srcdir}/${_pkgsrc}"
|
||||
make
|
||||
make manpages
|
||||
}
|
||||
|
||||
package(){
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make prefix="/usr" DESTDIR="${pkgdir}" install
|
||||
cd "${srcdir}/${_pkgsrc}"
|
||||
make DESTDIR="${pkgdir}" prefix="/usr" install
|
||||
|
||||
# Package license
|
||||
install -d "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||
install LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||
install -vDm644 ./*.1 -t "${pkgdir}/usr/share/man/man1"
|
||||
|
||||
# Package documentation
|
||||
install -d "${pkgdir}/usr/share/doc/${pkgname}/"
|
||||
install README "${pkgdir}/usr/share/doc/${pkgname}/"
|
||||
install -vDm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
||||
install -vDm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue