blob: 95af46cb1182bdcee8ac191c6c60c39c698ed74f (
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
|
# Maintainer: schuay <jakob.gruber@gmail.com>
pkgname=simavr
pkgver=1.2
pkgrel=1
pkgdesc='A lean, mean and hackable AVR simulator'
arch=('i686' 'x86_64')
url="https://github.com/buserror-uk/simavr"
license=('GPL3')
depends=('elfutils')
makedepends=('avr-libc' 'git')
source=("${pkgname}::git+https://github.com/buserror-uk/simavr.git#tag=v${pkgver}")
options=(!strip)
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
make AVR_ROOT=/usr/avr RELEASE=1 \
CFLAGS="-Wall -Wextra -fPIC -O2 -std=gnu99 -Wno-sign-compare -Wno-unused-parameter" \
build-simavr
}
package() {
cd "$srcdir/$pkgname"
make PREFIX="/usr" DESTDIR="$pkgdir/usr" install
}
|