makedeb
1oom is a Master of Orion (1993) game engine recreation.
Click here to go back to the commit logs for 1oom.
Hash: 0accf605ab9f8ec5fad43775133b039c10010c8d
Message: add icon and .desktop
diff --git a/.SRCINFO b/.SRCINFO
index 22ae5f5..49c153e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,8 +13,12 @@ pkgbase = 1oom-git
provides = 1oom
conflicts = 1oom
source = git+https://github.com/1oom-fork/1oom.git
+ source = Master_of_Orion_cover.png
+ source = 1oom.desktop
source = 1oom_classic_sdl2.sh
md5sums = SKIP
+ md5sums = 49248e72b7ddc5209cca2c1c61099d85
+ md5sums = ccac2feb67cecfc30b8156edf106b7ca
md5sums = 41b52627b2d52b477adcbc2a9a627b37
pkgname = 1oom-git
diff --git a/1oom.desktop b/1oom.desktop
new file mode 100644
index 0000000..a9e4a44
--- /dev/null
+++ b/1oom.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Master of Orion (1oom)
+Path=/usr/bin
+Exec=1oom_classic_sdl2
+Icon=1oom
+Terminal=false
+Categories=Games;
diff --git a/Master_of_Orion_cover.png b/Master_of_Orion_cover.png
new file mode 100644
index 0000000..7bfc592
Binary files /dev/null and b/Master_of_Orion_cover.png differ
diff --git a/PKGBUILD b/PKGBUILD
index 9b2dffd..800e0b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,8 +13,12 @@ makedepends=(git)
provides=(1oom)
conflicts=(1oom)
source=( 'git+https://github.com/1oom-fork/1oom.git'
+ 'Master_of_Orion_cover.png'
+ '1oom.desktop'
'1oom_classic_sdl2.sh' )
md5sums=('SKIP'
+ '49248e72b7ddc5209cca2c1c61099d85'
+ 'ccac2feb67cecfc30b8156edf106b7ca'
'41b52627b2d52b477adcbc2a9a627b37')
pkgver() {
@@ -48,4 +52,10 @@ package() {
# install launch script
mv "$pkgdir/usr/bin/1oom_classic_sdl2" "$pkgdir/usr/bin/1oom_classic_sdl2-bin"
install -m 0755 "${srcdir}/1oom_classic_sdl2.sh" "$pkgdir/usr/bin/1oom_classic_sdl2"
+
+ # install icon
+ install -Dm 0644 ${srcdir}/Master_of_Orion_cover.png $pkgdir/usr/share/icons/hicolor/256x256/apps/${_pkgname}.png
+
+ # install desktop file
+ install -Dm644 ${srcdir}/${_pkgname}.desktop $pkgdir/usr/share/applications/${_pkgname}.desktop
}