archrelease: copy trunk to extra-x86_64
[arch-packages.git] / dfu-programmer / trunk / PKGBUILD
blob1e308f655f3e6cf58f593433e9bb5f56a0b3872b
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Eduardo Martins Lopes < edumlopes at gmail dot com >
3 # Contributor: Poco <poco@atelo.org> (Patched 0.5.4 with atmega16u2 support)
4 # Contributor: Eric Anderson <ejona86@gmail.com>
6 pkgname=dfu-programmer
7 pkgver=1.0.0
8 pkgrel=1
9 pkgdesc='Programmer for Atmel chips with a USB bootloader'
10 url='https://github.com/dfu-programmer/dfu-programmer'
11 arch=('x86_64')
12 license=('GPL2')
13 depends=('glibc' 'libusb' 'libusb-1.0.so')
14 source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
15 sha512sums=('abb73970e10017f111b118c5be0b98a3fe7ef8c95794b5ca701f21b5a40f518f46ff8a392f09e7eea2ad9a4eb6c43ecc9514bee817c01acf0d6135a5f8f9048f')
17 prepare() {
18   cd ${pkgname}-${pkgver}
19   touch ./ChangeLog
20   autoreconf -fiv
23 build() {
24   cd ${pkgname}-${pkgver}
25   ./configure --prefix=/usr
26   make
29 package() {
30   cd ${pkgname}-${pkgver}
31   make DESTDIR="${pkgdir}" install
34 # vim: ts=2 sw=2 et: