[arch-commits] Commit in simavr/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 23:13:40 UTC 2018
Date: Friday, November 9, 2018 @ 23:13:40
Author: felixonmars
Revision: 405198
archrelease: copy trunk to community-staging-x86_64
Added:
simavr/repos/community-staging-x86_64/
simavr/repos/community-staging-x86_64/PKGBUILD
(from rev 405196, simavr/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: simavr/repos/community-staging-x86_64/PKGBUILD (from rev 405196, simavr/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-09 23:13:40 UTC (rev 405198)
@@ -0,0 +1,28 @@
+# Maintainer: schuay <jakob.gruber at gmail.com>
+
+pkgname=simavr
+pkgver=1.5
+pkgrel=2
+pkgdesc='A lean, mean and hackable AVR simulator'
+arch=('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
+}
+
More information about the arch-commits
mailing list