Date: Tuesday, April 4, 2023 @ 21:01:48
Author: freswa
Revision: 1435248
archrelease: copy trunk to community-x86_64
Added:
avrdude/repos/community-x86_64/PKGBUILD
(from rev 1435247, avrdude/trunk/PKGBUILD)
avrdude/repos/community-x86_64/keys/
Deleted:
avrdude/repos/community-x86_64/PKGBUILD
avrdude/repos/community-x86_64/keys/
----------+
PKGBUILD | 75 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 40 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-04 21:01:43 UTC (rev 1435247)
+++ PKGBUILD 2023-04-04 21:01:48 UTC (rev 1435248)
@@ -1,35 +0,0 @@
-# Maintainer: Jelle van der Waa <[email protected]>
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-# Contributor: Corrado Primier <[email protected]>
-# Contributor: Brad Fanella <[email protected]>
-
-pkgname=avrdude
-pkgver=7.0
-pkgrel=3
-epoch=1
-pkgdesc="Download/upload/manipulate the ROM and EEPROM contents of AVR
microcontrollers"
-arch=('x86_64')
-url="https://www.nongnu.org/avrdude/"
-license=('GPL')
-depends=('elfutils' 'hidapi' 'libftdi' 'libusb-compat' 'readline')
-source=(https://download.savannah.gnu.org/releases/avrdude/${pkgname}-${pkgver}.tar.gz{,.sig})
-validpgpkeys=('EF497ABE47ED91B3FC3D7EA54D902FF7723BDEE9'
'5E84F980C3CAFD4BB5841070F48CA81B69A85873'
'56628323218C669FF578705C7E9EADC3030D34EB')
-b2sums=('260817e81c50492035afb3eacf89c5c418e1e966decc0ecec81e91a8f5372c25ef75cfa9aab47e4a648d5e85b7854e8fa53c65f826aa7752bc8dc6a3c15f588a'
- 'SKIP')
-
-build() {
- cd ${pkgname}-${pkgver}
-
- ./configure --mandir=/usr/share/man \
- --prefix=/usr \
- --sysconfdir=/etc \
- --enable-linuxgpio \
- --enable-linuxspi
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
-
- make DESTDIR="${pkgdir}" install
-}
Copied: avrdude/repos/community-x86_64/PKGBUILD (from rev 1435247,
avrdude/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-04 21:01:48 UTC (rev 1435248)
@@ -0,0 +1,40 @@
+# Maintainer: Jelle van der Waa <[email protected]>
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Corrado Primier <[email protected]>
+# Contributor: Brad Fanella <[email protected]>
+
+pkgname=avrdude
+epoch=1
+pkgver=7.1
+pkgrel=1
+pkgdesc="Download/upload/manipulate the ROM and EEPROM contents of AVR
microcontrollers"
+arch=('x86_64')
+url="https://github.com/avrdudes/avrdude/"
+license=('GPL')
+depends=('elfutils' 'hidapi' 'libftdi' 'libusb-compat' 'readline')
+makedepends=('cmake' 'ninja')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/avrdudes/avrdude/archive/refs/tags/v${pkgver}.tar.gz
+
https://github.com/avrdudes/avrdude/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.sig)
+validpgpkeys=('EF497ABE47ED91B3FC3D7EA54D902FF7723BDEE9'
'5E84F980C3CAFD4BB5841070F48CA81B69A85873'
'56628323218C669FF578705C7E9EADC3030D34EB')
+b2sums=('66df0dd3b5488a9c5f00a1eac9ef5157eb06b95f41512237c8280a0e665c3d8e72743455032c6097d0e18a2c29c740901f8718f92cb31ae4e4512647e42b59c3'
+ 'SKIP')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ cmake -B build \
+ -G Ninja \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D CMAKE_INSTALL_SYSCONFDIR=/etc \
+ -D CMAKE_BUILD_TYPE=RelWithDebInfo \
+ -D BUILD_SHARED_LIBS=1 \
+ -D HAVE_LINUXGPIO=1 \
+ -D HAVE_LINUXSPI=1
+ ninja -C build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ DESTDIR="${pkgdir}" ninja -C build install
+}