diff options
author | Matthias Van Gestel | 2021-08-24 23:21:53 +0200 |
---|---|---|
committer | Matthias Van Gestel | 2021-08-24 23:21:53 +0200 |
commit | ff8ff719cf3af3c90b7a58abf8312303c2542e14 (patch) | |
tree | bba40b3570575e426478db765ba6adff7dfd1968 | |
parent | 1855f1c803befd143038bc1b1db50862cec39fbe (diff) | |
download | aur-ff8ff719cf3af3c90b7a58abf8312303c2542e14.tar.gz |
Correcting the PKGBUILD (thanks Fabio)
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 17 insertions, 11 deletions
@@ -1,18 +1,24 @@ pkgbase = amxb_pcb-git pkgdesc = PCB baapi back-end - pkgver = v2.1.3.r0.g83c7d92 + pkgver = 2.1.4.r0.g5c6b8a8 pkgrel = 1 url = https://gitlab.com/soft.at.home/ambiorix/modules/amxb_backends/amxb_pcb.git - arch = any - license = MIT + arch = x86_64 + arch = i686 + arch = i486 + arch = pentium4 + arch = arm + arch = armv6h + arch = armv7h + arch = aarch64 + license = BSD + makedepends = git depends = lib_amxc depends = lib_amxp depends = lib_amxd depends = libpcb provides = amxb_pcb - provides = amxb_pcb-git conflicts = amxb_pcb - conflicts = amxb_pcb-git source = amxb_pcb-git::git+https://gitlab.com/soft.at.home/ambiorix/modules/amxb_backends/amxb_pcb.git#branch=main md5sums = SKIP @@ -1,11 +1,11 @@ # Maintainer: fenrig <fenrig.linux at outlook.com> pkgname=amxb_pcb-git -pkgver=v2.1.3.r0.g83c7d92 +pkgver=2.1.4.r0.g5c6b8a8 pkgrel=1 pkgdesc="PCB baapi back-end" -arch=('any') +arch=("x86_64" "i686" "i486" "pentium4" "arm" "armv6h" "armv7h" "aarch64") url="https://gitlab.com/soft.at.home/ambiorix/modules/amxb_backends/amxb_pcb.git" -license=('MIT') +license=(BSD) depends=( 'lib_amxc' @@ -14,14 +14,13 @@ depends=( 'libpcb' ) makedepends=( + 'git' ) provides=( 'amxb_pcb' - 'amxb_pcb-git' ) conflicts=( 'amxb_pcb' - 'amxb_pcb-git' ) gitbranch="main" @@ -31,7 +30,7 @@ md5sums=('SKIP') pkgver() { cd "${pkgname}" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { @@ -42,4 +41,5 @@ build() { package() { cd "${pkgname}" make DEST="${pkgdir}/" LIBDIR="/usr/lib" install + install -D LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } |