upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / avrdude / trunk / PKGBUILD
blob5b8cd9fb418f66f4124278da42afc85f55e5beed
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>
6 pkgname=avrdude
7 epoch=1
8 pkgver=7.1
9 pkgrel=1
10 pkgdesc="Download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers"
11 arch=('x86_64')
12 url="https://github.com/avrdudes/avrdude/"
13 license=('GPL')
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'
20         'SKIP')
22 build() {
23   cd ${pkgname}-${pkgver}
25   cmake -B build \
26     -G Ninja \
27     -D CMAKE_INSTALL_PREFIX=/usr \
28     -D CMAKE_INSTALL_SYSCONFDIR=/etc \
29     -D CMAKE_BUILD_TYPE=RelWithDebInfo \
30     -D BUILD_SHARED_LIBS=1 \
31     -D HAVE_LINUXGPIO=1 \
32     -D HAVE_LINUXSPI=1
33   ninja -C build
36 package() {
37   cd ${pkgname}-${pkgver}
39   DESTDIR="${pkgdir}" ninja -C build install