summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArchan Paul2017-04-14 17:01:48 +0530
committerArchan Paul2017-04-14 17:01:48 +0530
commit1a2f95b48a512e10129a4dae32dede2efd0b068c (patch)
treef8b45443c4a9a58ec46da5e9b0ee370b1493ba66
downloadaur-1a2f95b48a512e10129a4dae32dede2efd0b068c.tar.gz
gnuarmeclipse-qemu initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD40
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f51e1bd8205
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = gnuarmeclipse-qemu-git
+ pkgdesc = Fork, Cortex-M cores support, better integration with the GNU ARM QEMU Debugging plug-in
+ pkgver = r50620.2c99a25f9e
+ pkgrel = 1
+ url = http://gnuarmeclipse.github.io/qemu/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ license = LGPL2.1
+ makedepends = git
+ depends = sdl2
+ depends = sdl2_image
+ provides = gnuarmeclipse-qemu
+ conflicts = gnuarmeclipse-qemu-bin
+ source = gnuarmeclipse-qemu::git+https://github.com/gnuarmeclipse/qemu.git#branch=gnuarmeclipse
+ md5sums = SKIP
+
+pkgname = gnuarmeclipse-qemu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d6bdc76a29b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Archan Paul <paul.archan@gmail.com>
+pkgname=gnuarmeclipse-qemu-git
+pkgver=r50620.2c99a25f9e
+pkgrel=1
+pkgdesc="Fork, Cortex-M cores support, better integration with the GNU ARM QEMU Debugging plug-in"
+arch=('i686' 'x86_64')
+url="http://gnuarmeclipse.github.io/qemu/"
+license=('GPL2' 'LGPL2.1')
+provides=('gnuarmeclipse-qemu')
+conflicts=('gnuarmeclipse-qemu-bin')
+depends=('sdl2' 'sdl2_image')
+makedepends=('git')
+source=('gnuarmeclipse-qemu::git+https://github.com/gnuarmeclipse/qemu.git#branch=gnuarmeclipse')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/gnuarmeclipse-qemu"
+ printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "$srcdir/gnuarmeclipse-qemu"
+ git submodule update --init dtc
+ #git clone -b gnuarmeclipse --depth 1 https://github.com/gnuarmeclipse/qemu.git gnuarmeclipse-qemu.git/
+}
+
+build() {
+ cd "$srcdir/gnuarmeclipse-qemu"
+ ./configure --python=/usr/bin/python2 --target-list=gnuarmeclipse-softmmu --prefix=/opt/gnuarmeclipse --disable-werror
+ make
+}
+
+package() {
+ cd "$srcdir/gnuarmeclipse-qemu"
+ make DESTDIR="$pkgdir" install
+ cp -a $srcdir/gnuarmeclipse-qemu/gnuarmeclipse/devices $pkgdir/opt/gnuarmeclipse/share/qemu/
+ cp -a $srcdir/gnuarmeclipse-qemu/gnuarmeclipse/graphics $pkgdir/opt/gnuarmeclipse/share/qemu/
+ #ln -s /opt/gnuarmeclipse/bin/qemu-system-gnuarmeclipse /usr/bin/qemu-system-gnuarmeclipse
+}
+