updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / avra / PKGBUILD
blob231fb2f9fd2147ba9c54a9e092071f9a1fc35271
1 # Maintainer: Laszlo Papp <djszapi2 at gmail.com>
2 pkgname=avra
3 pkgver=1.3.0
4 pkgrel=1
5 pkgdesc="Atmel AVR Assembler"
6 url="http://avra.sourceforge.net/"
7 license=("GPL")
8 depends=('glibc')
9 arch=('i686' 'x86_64')
10 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
11 md5sums=('d5d48369ceaa004c4ca09f61f69b2c84')
13 build() {
14         _srcdir=${srcdir}/${pkgname}-${pkgver}/src
15         cd ${_srcdir}
16         ./bootstrap # aclocal, autoconf and automake
17         ./configure --prefix=/usr
18         touch NEWS ChangeLog
19         make
20         make DESTDIR=$pkgdir install
21         install -Dm755 -d ${_srcdir}/../includes ${pkgdir}/usr/share/avra/includes
22         install -Dm644 ${_srcdir}/../includes/* ${pkgdir}/usr/share/avra/includes/
23         install -Dm755 -d ${_srcdir}/../examples ${pkgdir}/usr/share/avra/examples
24         install -Dm644 ${_srcdir}/../examples/* ${pkgdir}/usr/share/avra/examples/