1 # Maintainer: Jelle van der Waa <jelle@archlinux.org>
2 # Maintainer: Frederik Schwan <freswa at archlinux dot org>
3 # Contributor: Corrado Primier <bardo@aur.archlinux.org>
4 # Contributor: Brad Fanella <bradfanella@archlinux.us>
10 pkgdesc="Download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers"
12 url="https://github.com/avrdudes/avrdude/"
14 depends=('elfutils' 'hidapi' 'libftdi' 'libusb-compat' 'readline')
15 makedepends=('cmake' 'ninja')
16 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/avrdudes/avrdude/archive/refs/tags/v${pkgver}.tar.gz
17 https://github.com/avrdudes/avrdude/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.sig)
18 validpgpkeys=('EF497ABE47ED91B3FC3D7EA54D902FF7723BDEE9' '5E84F980C3CAFD4BB5841070F48CA81B69A85873' '56628323218C669FF578705C7E9EADC3030D34EB')
19 b2sums=('66df0dd3b5488a9c5f00a1eac9ef5157eb06b95f41512237c8280a0e665c3d8e72743455032c6097d0e18a2c29c740901f8718f92cb31ae4e4512647e42b59c3'
23 cd ${pkgname}-${pkgver}
27 -D CMAKE_INSTALL_PREFIX=/usr \
28 -D CMAKE_INSTALL_SYSCONFDIR=/etc \
29 -D CMAKE_BUILD_TYPE=RelWithDebInfo \
30 -D BUILD_SHARED_LIBS=1 \
37 cd ${pkgname}-${pkgver}
39 DESTDIR="${pkgdir}" ninja -C build install