summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Bezies2018-01-19 17:30:32 +0100
committerFrederic Bezies2018-01-19 17:30:32 +0100
commit1e567faaedbdad562600801d888da8e573640f14 (patch)
tree55a620ecca18ab3f1e1adfe45e442721f3cb8a47
parent1790e4dc5b4e98073a7affc1a73af0091253b331 (diff)
downloadaur-1e567faaedbdad562600801d888da8e573640f14.tar.gz
reset using arnold 1.0 WIP from Kevin Thacker
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD36
-rw-r--r--arnold.desktop2
3 files changed, 25 insertions, 36 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a498c595cd5..bf45fd7ed26 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,19 @@
-# Generated by mksrcinfo v8
-# Sun Dec 6 14:18:47 UTC 2015
pkgbase = arnold
- pkgdesc = An Amstrad CPC emulator using SDL with a GTK+ interface
- pkgver = 2009.05.31
- pkgrel = 5
- url = http://www.yasara.org/cpc/
- arch = i686
+ pkgdesc = An Amstrad CPC emulator using SDL with a WxGTK interface
+ pkgver = 1.0.0
+ pkgrel = 1
+ epoch = 1
+ url = http://www.cpctech.org.uk/
arch = x86_64
license = GPL
+ depends = wxgtk2
depends = sdl
- depends = gtk2
- depends = libpulse
- source = http://www.yasara.org/cpc/arnold_tng.zip
+ source = http://www.cpctech.org.uk/arnold_1.0.0-1_amd64.deb
source = arnold.desktop
source = arnold.png
- md5sums = b9fcee41371a3d16b1ce2e268778a2c6
- md5sums = 99e21ce02a53282529af21ff3abbcabd
- md5sums = 7914c93646818037948eebba293520bc
+ sha256sums = 28874e9c758a2c3a92bf50d475b67d985ba7f4683b63452c3d1fa93061e51752
+ sha256sums = c58dc13b7f92a84b688fbd037991aed054a727ee04206efdefc272c95e9a2772
+ sha256sums = 45aa62abcd36f125a4d47dbe2569b21a52068b57138c138814d35188dd5e49d5
pkgname = arnold
diff --git a/PKGBUILD b/PKGBUILD
index 9648e6719c6..cc967ac035a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,32 +4,24 @@
# Contributor: milko
pkgname=arnold
-pkgver=2009.05.31
-pkgrel=5
-pkgdesc="An Amstrad CPC emulator using SDL with a GTK+ interface"
-arch=('i686' 'x86_64')
-url="http://www.yasara.org/cpc/"
-depends=('sdl' 'gtk2' 'libpulse')
+pkgver=1.0.0
+pkgrel=1
+epoch=1
+pkgdesc="An Amstrad CPC emulator using SDL with a WxGTK interface"
+arch=('x86_64')
+url='http://www.cpctech.org.uk/'
+depends=('wxgtk2' 'sdl')
license=('GPL')
-source=("http://www.yasara.org/cpc/arnold_tng.zip" arnold.desktop arnold.png)
-md5sums=('b9fcee41371a3d16b1ce2e268778a2c6'
- '99e21ce02a53282529af21ff3abbcabd'
- '7914c93646818037948eebba293520bc')
+source=('http://www.cpctech.org.uk/arnold_1.0.0-1_amd64.deb' arnold.desktop arnold.png)
+sha256sums=('28874e9c758a2c3a92bf50d475b67d985ba7f4683b63452c3d1fa93061e51752'
+ 'c58dc13b7f92a84b688fbd037991aed054a727ee04206efdefc272c95e9a2772'
+ '45aa62abcd36f125a4d47dbe2569b21a52068b57138c138814d35188dd5e49d5')
-build() {
- cd "$srcdir"/arnold_tng/src
-
- ./configure
- sed -e 's/-DHAVE_SDL=1/-DHAVE_SDL=1 -DHAVE_GL=1/g' -e 's/-lSDL/-lSDL -lGL/g' -i Makefile
- make clean
- make
-
-}
package () {
- cd "$srcdir"/arnold_tng/src
-
- install -D ../arnold "$pkgdir"/usr/bin/arnold
+ bsdtar -xf data.tar.gz -C "${pkgdir}"
+ install -d "${pkgdir}/usr/bin"
install -D -m644 "$srcdir"/arnold.desktop "$pkgdir"/usr/share/applications/arnold.desktop
install -D -m644 "$srcdir"/arnold.png "$pkgdir"/usr/share/pixmaps/arnold.png
}
+
diff --git a/arnold.desktop b/arnold.desktop
index 3c653b90b74..e646561c5b0 100644
--- a/arnold.desktop
+++ b/arnold.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Arnold
GenericName=Amstrad CPC emulator
-Exec=arnold
+Exec=/usr/bin/arnold
Icon=/usr/share/pixmaps/arnold.png
Type=Application
Categories=Games;Emulator;