Skip to content
Snippets Groups Projects
PKGBUILD 949 B
Newer Older
Levente Polyak's avatar
Levente Polyak committed
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Eduardo Martins Lopes < edumlopes at gmail dot com >
# Contributor: Poco <poco@atelo.org> (Patched 0.5.4 with atmega16u2 support)
# Contributor: Eric Anderson <ejona86@gmail.com>

pkgname=dfu-programmer
pkgver=1.1.0
Levente Polyak's avatar
Levente Polyak committed
pkgrel=1
Levente Polyak's avatar
Levente Polyak committed
pkgdesc='Programmer for Atmel chips with a USB bootloader'
Levente Polyak's avatar
Levente Polyak committed
url='https://github.com/dfu-programmer/dfu-programmer'
Levente Polyak's avatar
Levente Polyak committed
arch=('x86_64')
license=('GPL2')
depends=('glibc' 'libusb' 'libusb-1.0.so')
Levente Polyak's avatar
Levente Polyak committed
source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('9d52b68023c6b38c93a3e8d4a04bcac9e9858f20d810a15bbcc9c37ab117d7799194363813bcc074585c86d7cc7877307e060f3b60655b7632f97421e23db30d')
Levente Polyak's avatar
Levente Polyak committed

prepare() {
  cd ${pkgname}-${pkgver}
  touch ./ChangeLog
  autoreconf -fiv
}
Levente Polyak's avatar
Levente Polyak committed

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}

# vim: ts=2 sw=2 et: