From ef568dadc48fcf1f7879a4dff741dcd9e4475fa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 30 Sep 2020 12:04:09 +0200 Subject: [PATCH] cross-avr-gdb: rename to avr-gdb for consistency --- srcpkgs/{cross-avr-gdb => avr-gdb}/template | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) rename srcpkgs/{cross-avr-gdb => avr-gdb}/template (91%) diff --git a/srcpkgs/cross-avr-gdb/template b/srcpkgs/avr-gdb/template similarity index 91% rename from srcpkgs/cross-avr-gdb/template rename to srcpkgs/avr-gdb/template index e01a4bf6bfa..f011ba62125 100644 --- a/srcpkgs/cross-avr-gdb/template +++ b/srcpkgs/avr-gdb/template @@ -1,10 +1,8 @@ -# Template file for 'cross-${_triplet}-${_pkgname}' -_triplet=avr -_pkgname=gdb -pkgname=cross-${_triplet}-${_pkgname} +# Template file for 'avr-gdb' +pkgname=avr-gdb version=9.2 revision=1 -wrksrc=${_pkgname}-${version} +wrksrc=${pkgname#avr-}-${version} build_style=gnu-configure pycompile_dirs="/usr/share/gdb/python" configure_args="\ @@ -25,9 +23,10 @@ short_desc="GNU Debugger for AVR" maintainer="Artur Sinila " license="GPL-3.0-or-later" homepage="https://www.gnu.org/software/gdb/" -distfiles="${GNU_SITE}/${_pkgname}/${_pkgname}-${version}.tar.xz" +distfiles="${GNU_SITE}/${pkgname#avr-}/${pkgname#avr-}-${version}.tar.xz" checksum=360cd7ae79b776988e89d8f9a01c985d0b1fa21c767a4295e5f88cb49175c555 python_version=3 +replaces="cross-avr-gdb>=0" if [ "${CROSS_BUILD}" ]; then # Make python3.x detection work in cross builds