[arch-commits] Commit in (5 files)

Alexander Rødseth arodseth at archlinux.org
Tue Oct 2 22:05:15 UTC 2018


    Date: Tuesday, October 2, 2018 @ 22:05:15
  Author: arodseth
Revision: 389100

Add TinyEMU. RISC-V Emulator from Fabrice Bellard

Added:
  tinyemu/
  tinyemu/repos/
  tinyemu/repos/community-x86_64/
  tinyemu/trunk/
  tinyemu/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Added: tinyemu/trunk/PKGBUILD
===================================================================
--- tinyemu/trunk/PKGBUILD	                        (rev 0)
+++ tinyemu/trunk/PKGBUILD	2018-10-02 22:05:15 UTC (rev 389100)
@@ -0,0 +1,34 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+
+pkgname=tinyemu
+pkgver=2018_09_23
+pkgrel=1
+pkgdesc='RISC-V system emulator'
+arch=('x86_64')
+url='https://bellard.org/tinyemu/'
+license=('MIT')
+depends=('sdl')
+makedepends=('setconf')
+source=("https://bellard.org/tinyemu/$pkgname-${pkgver//_/-}.tar.gz")
+sha256sums=('9b58d5521df8356c3be09a520387d3e4adcb510cf8d2fd6bdd971287bd57d734')
+
+prepare() {
+  cd "$pkgname-${pkgver//_/-}"
+
+  setconf Makefile bindir /usr/bin
+}
+
+build() {
+  make -C "$pkgname-${pkgver//_/-}"
+}
+
+package() {
+  cd "$pkgname-${pkgver//_/-}"
+
+  install -d "$pkgdir/usr/bin"
+  make DESTDIR="$pkgdir" install
+  install -Dm644 MIT-LICENSE.txt \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list