summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fbb1d3b4798fd04e6fcc9cdb0d9e3f7f88dedc60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# Maintainer: Uffe Jakobsen <uffe@uffe.org>
#

pkgname=dwire-debug-git
_pkgname=dwire-debug
pkgver=r155.d6af573
pkgrel=1
pkgdesc="Simple stand-alone debugger for ATtiny 45 and other ATMEL AVR DebugWIRE chips connected directly to an FT232R or similar"
arch=("i686" "x86_64")
url="https://github.com/dcwbrown/dwire-debug"
license=("GPL2")
depends=("gtk3")
conflict=("dwire-debug")
source=("git+https://github.com/dcwbrown/dwire-debug.git")
md5sums=('SKIP') 


pkgver() {
  cd "${srcdir}/${_pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${srcdir}/${_pkgname}"
  make dwdebug || return 1
}

package() {
  cd "${srcdir}/${_pkgname}"
  #make DESTDIR="${pkgdir}/" install
  install -D --mode=0755 dwdebug "${pkgdir}/usr/bin/dwdebug"
}

#
# EOF
#