summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e54e630c657151c4fd6023fe24870b0fe28ea946 (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
38
#
# Maintainer: Uffe Jakobsen <uffe@uffe.org>
#

pkgname=dwire-debug-git
_pkgname=dwire-debug
pkgver=r129.beb3806
pkgrel=1
pkgdesc="Simple stand-alone debugger for ATtiny 45 and 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
  #cd "${srcdir}/${pkgname}/src"
  install -D --mode=0755 dwdebug "${pkgdir}/usr/bin/dwdebug"
}

#
# EOF
#