diff options
author | ArcanusNEO | 2023-08-18 01:10:41 +0800 |
---|---|---|
committer | ArcanusNEO | 2023-08-18 01:10:41 +0800 |
commit | c1974a9d57870a3af15ae75df6cb6888ea3c1f60 (patch) | |
tree | 96c87456886bdbc465bb294085cb705ee6119039 | |
parent | e753f89c974dbe81d94c6ef92b5e715650157735 (diff) | |
download | aur-c1974a9d57870a3af15ae75df6cb6888ea3c1f60.tar.gz |
Take over the package
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 53 |
2 files changed, 47 insertions, 28 deletions
@@ -1,13 +1,17 @@ pkgbase = qdl-git - pkgdesc = This tool communicates with USB devices of id 05c6:9008 to upload a flash loader and use this to flash images - pkgver = 760b3dffb03d2b7dfb82c6eac652a092f51c572d - pkgrel = 0 - url = https://git.linaro.org/landing-teams/working/qualcomm/qdl.git - arch = any - license = GPL + pkgdesc = Tool to communicate with Qualcomm System On a Chip bootroms to install or execute code + pkgver = r83.3b22df2 + pkgrel = 1 + url = https://github.com/andersson/qdl + arch = armv7h + arch = i686 + arch = x86_64 + license = BSD3 depends = libxml2 - source = git://git.linaro.org/landing-teams/working/qualcomm/qdl.git - sha512sums = SKIP + depends = systemd-libs + provides = qdl + conflicts = qdl + source = git+https://github.com/andersson/qdl.git + sha256sums = SKIP pkgname = qdl-git - @@ -1,27 +1,42 @@ -# Mantainer: Daniel Urdiales <daniurdi46@gmail.com> +# Maintainer: ArcanusNEO <admin@transcliff.eu.org> +# Contributor: Daniel Urdiales <daniurdi46@gmail.com> +# 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. pkgname=qdl-git -pkgver=760b3dffb03d2b7dfb82c6eac652a092f51c572d -pkgrel=0 -pkgdesc="This tool communicates with USB devices of id 05c6:9008 to upload a flash loader and use this to flash images" -arch=(any) -url="https://git.linaro.org/landing-teams/working/qualcomm/qdl.git" -license=(GPL) -depends=('libxml2') -source=("git://git.linaro.org/landing-teams/working/qualcomm/qdl.git") -sha512sums=('SKIP') +_pkgname=qdl +pkgver=r83.3b22df2 +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' 'systemd-libs') +provides=("qdl") +conflicts=("qdl") +source=("git+${url}.git") +sha256sums=('SKIP') -prepare() { - cd qdl - git reset --hard $pkgver +pkgver() { + cd $srcdir/$_pkgname + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } -build() { - cd qdl - make +build(){ + cd $srcdir/$_pkgname + make CFLAGS:="${CFLAGS} `pkg-config --cflags libxml-2.0`" LDFLAGS:="${LDFLAGS} `pkg-config --libs libxml-2.0 libudev`" } -package() { - cd qdl - make DESTDIR="$pkgdir" install +package(){ + cd $srcdir/$_pkgname + 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/" } |