[arch-commits] Commit in simavr/repos/community-i686 (PKGBUILD PKGBUILD)
Jakob Gruber
schuay at nymeria.archlinux.org
Fri Oct 25 10:59:20 UTC 2013
Date: Friday, October 25, 2013 @ 12:59:19
Author: schuay
Revision: 99187
archrelease: copy trunk to community-i686
Added:
simavr/repos/community-i686/PKGBUILD
(from rev 99186, simavr/trunk/PKGBUILD)
Deleted:
simavr/repos/community-i686/PKGBUILD
----------+
PKGBUILD | 59 ++++++++++++++++++++++++++++-------------------------------
1 file changed, 28 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-25 10:59:09 UTC (rev 99186)
+++ PKGBUILD 2013-10-25 10:59:19 UTC (rev 99187)
@@ -1,31 +0,0 @@
-# Maintainer: schuay <jakob.gruber at gmail.com>
-
-pkgname=simavr
-pkgver=1.0
-pkgrel=2
-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')
-source=("https://github.com/downloads/buserror-uk/simavr/$pkgname-$pkgver.tar.bz2")
-options=(!strip)
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # The original Makefile depends on git, hardcode the version until it's fixed upstream.
- sed -i "s/^\(SIMAVR_VERSION\).*/\1 = ${pkgver}/" simavr/Makefile
-
- make AVR_ROOT=/usr/avr SIMAVR_VERSION=1.0 \
- CFLAGS="-Wall -Wextra -fPIC -std=gnu99 -Wno-sign-compare -Wno-unused-parameter" \
- build-simavr
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make PREFIX="/usr" DESTDIR="$pkgdir/usr" install
-}
-
-md5sums=('82c9704a4e8569548f01931e32ebfe0c')
Copied: simavr/repos/community-i686/PKGBUILD (from rev 99186, simavr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-10-25 10:59:19 UTC (rev 99187)
@@ -0,0 +1,28 @@
+# Maintainer: schuay <jakob.gruber at gmail.com>
+
+pkgname=simavr
+pkgver=1.1
+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
+}
+
More information about the arch-commits
mailing list