summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjk2020-07-14 09:41:59 -0500
committerjk2020-07-14 09:41:59 -0500
commitafcb5e0264efb94876b3d3655212bc75ad5e8d7a (patch)
tree108a0e816041ecb866f534696267fc24396a5a76
downloadaur-afcb5e0264efb94876b3d3655212bc75ad5e8d7a.tar.gz
initial commit
-rw-r--r--.SRCINFO25
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD34
-rw-r--r--avr_sim.desktop9
-rw-r--r--avr_sim_16x16.pngbin0 -> 1049 bytes
-rw-r--r--avr_sim_256x256.pngbin0 -> 2223 bytes
-rw-r--r--avr_sim_32x32.pngbin0 -> 1937 bytes
-rw-r--r--avr_sim_48x48.pngbin0 -> 2364 bytes
-rw-r--r--avr_sim_64x64.pngbin0 -> 2155 bytes
9 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..65b59b61411
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = avr-sim-bin
+ pkgdesc = Gerd's avr simulator
+ pkgver = 2.2
+ pkgrel = 1
+ url = http://www.avr-asm-tutorial.net/avr_sim/index_en.html
+ arch = x86_64
+ license = unknown
+ depends = gtk2
+ source = http://www.avr-asm-tutorial.net/avr_sim/22/avr_sim_22_lin64.zip
+ source = avr_sim.desktop
+ source = avr_sim_16x16.png
+ source = avr_sim_32x32.png
+ source = avr_sim_48x48.png
+ source = avr_sim_64x64.png
+ source = avr_sim_256x256.png
+ sha256sums = d50eb9f4f338eb808ab4411ddd928f4df6191e587291213ab97219d91a52fbfa
+ sha256sums = 62ccc4b2dfd899d13b143c36d56d43927c1a32741a6315bf632af159baa73ff8
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = avr-sim-bin
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..98c160b1308
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/
+src/
+*.pkg.*
+*.zip
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9014be77a8c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: JustKidding <jk@vin.ovh>
+
+pkgname=avr-sim-bin
+_pkgname=avr_sim
+pkgver=2.2
+pkgrel=1
+pkgdesc="Gerd's avr simulator"
+arch=(x86_64)
+url="http://www.avr-asm-tutorial.net/avr_sim/index_en.html"
+license=('unknown')
+depends=('gtk2')
+source=("http://www.avr-asm-tutorial.net/avr_sim/22/avr_sim_22_lin64.zip"
+ "avr_sim.desktop")
+sha256sums=("d50eb9f4f338eb808ab4411ddd928f4df6191e587291213ab97219d91a52fbfa"
+ "62ccc4b2dfd899d13b143c36d56d43927c1a32741a6315bf632af159baa73ff8")
+
+# append icons to source array
+for size in 16 32 48 64 256; do
+ source+=("${_pkgname}_${size}x${size}.png")
+ sha256sums+=('SKIP')
+done
+
+package() {
+ cd "$srcdir"
+
+ install -D avr_sim "$pkgdir/usr/bin/avr_sim"
+
+ install -Dm644 avr_sim.desktop "$pkgdir/usr/share/applications/avr_sim.desktop"
+
+ for size in 16 32 48 64 256; do
+ install -Dm644 "${_pkgname}_${size}x${size}.png" \
+ "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/${_pkgname}.png"
+ done
+}
diff --git a/avr_sim.desktop b/avr_sim.desktop
new file mode 100644
index 00000000000..f922b4bbaf2
--- /dev/null
+++ b/avr_sim.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Avr Simulator
+Comment=Gerd's AVR simulator
+Exec=avr_sim
+Icon=avr_sim
+Terminal=false
+Categories=Development
diff --git a/avr_sim_16x16.png b/avr_sim_16x16.png
new file mode 100644
index 00000000000..50063e303e7
--- /dev/null
+++ b/avr_sim_16x16.png
Binary files differ
diff --git a/avr_sim_256x256.png b/avr_sim_256x256.png
new file mode 100644
index 00000000000..1e0ced4e2dd
--- /dev/null
+++ b/avr_sim_256x256.png
Binary files differ
diff --git a/avr_sim_32x32.png b/avr_sim_32x32.png
new file mode 100644
index 00000000000..bafa316a40c
--- /dev/null
+++ b/avr_sim_32x32.png
Binary files differ
diff --git a/avr_sim_48x48.png b/avr_sim_48x48.png
new file mode 100644
index 00000000000..5e64a1d3730
--- /dev/null
+++ b/avr_sim_48x48.png
Binary files differ
diff --git a/avr_sim_64x64.png b/avr_sim_64x64.png
new file mode 100644
index 00000000000..5a8dfdbb184
--- /dev/null
+++ b/avr_sim_64x64.png
Binary files differ