makedeb
1oom is a Master of Orion (1993) game engine recreation.
Click here to go back to the commit logs for 1oom-git.
Hash: a074872b75e1395f9823b009a4a56c2e9f7d616d
Message: Initial mpr release
diff --git a/.SRCINFO b/.SRCINFO
index f432675..0a89c92 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,24 +1,35 @@
-pkgbase = 1oom-git
- pkgdesc = 1oom is a Master of Orion (1993) game engine recreation.
- pkgver = r1047.813ab8df
- pkgrel = 1
- url = https://github.com/1oom-fork/1oom
- arch = x86_64
- license = GPL2
- makedepends = git
- depends = sdl2
- depends = sdl2_mixer
- depends = libsamplerate
- depends = soundfont-fluid
- 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
-
+generated-by = makedeb
pkgname = 1oom-git
+pkgbase = 1oom-git
+pkgdesc = 1oom is a Master of Orion (1993) game engine recreation.
+pkgrel = 1
+pkgver = 1.8.0.r1.fa65f0d
+url = https://github.com/1oom-fork/1oom
+arch = amd64
+arch = i386
+conflicts = 1oom
+depends = libsdl2-2.0-0
+depends = libsdl2-mixer-2.0-0
+depends = libsamplerate0
+license = GPL2
+makedepends = git
+makedepends = libsdl2-dev
+makedepends = libsdl2-mixer-dev
+makedepends = libsamplerate0-dev
+optdepends = timgm6mb-soundfont: Soundfont, average but small
+optdepends = fluid-soundfont-gm: Soundfont, good but big
+optdepends = game-data-packager: Installer for game data files
+provides = 1oom
+source = git+https://github.com/1oom-fork/1oom.git
+source = 1oom.png
+source = 1oom.desktop
+b2sums = SKIP
+b2sums = 9698161cc4a241d13f7c377b4417ae5807d02a0ee544929fac98d60d454f2c9784223e9764ad5ef568afc6b69af6cd9d729c4a59bbc4a7161bb30d053eb30390
+b2sums = 3e137452bec8de0af7e7dee85c5ade673dd02abf15b4c4255c266278dc57bb3243c1950922d2e10b37571552acf0253f936347a7fad56a542e2f20e1e70b9e83
+makedepends = git
+makedepends = libsdl2-dev
+makedepends = libsdl2-mixer-dev
+makedepends = libsamplerate0-dev
+optdepends = timgm6mb-soundfont: Soundfont, average but small
+optdepends = fluid-soundfont-gm: Soundfont, good but big
+optdepends = game-data-packager: Installer for game data files
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..823f1bd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.deb
+1oom/
+pkg/
+src/
diff --git a/1oom.desktop b/1oom.desktop
index a9e4a44..4d9aece 100644
--- a/1oom.desktop
+++ b/1oom.desktop
@@ -1,8 +1,15 @@
[Desktop Entry]
+Version=1.0
Type=Application
-Name=Master of Orion (1oom)
-Path=/usr/bin
-Exec=1oom_classic_sdl2
+Name=1oom
+Name[en]=1oom
+GenericName=Master of Orion (1993) game engine recreation.
+GenericName[en]=Master of Orion (1993) game engine recreation.
+Comment=Turn-based space empire and galactic conquest (4X) computer game
+Comment[en]=Turn-based space empire and galactic conquest (4X) computer game
+Exec=1oom
+TryExec=1oom
Icon=1oom
-Terminal=false
-Categories=Games;
+StartupNotify=false
+Categories=Game;StrategyGame;
+Keywords=space;strategy;empire;galaxy;turn-based;aliens;species;planets;fleet;research;resources;
diff --git a/1oom.png b/1oom.png
new file mode 100644
index 0000000..8c38029
Binary files /dev/null and b/1oom.png differ
diff --git a/1oom_classic_sdl2.sh b/1oom_classic_sdl2.sh
deleted file mode 100755
index 110da2b..0000000
--- a/1oom_classic_sdl2.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-SDL_SOUNDFONTS=/usr/share/soundfonts/FluidR3_GM.sf2 /usr/bin/1oom_classic_sdl2-bin
diff --git a/Master_of_Orion_cover.png b/Master_of_Orion_cover.png
deleted file mode 100644
index 7bfc592..0000000
Binary files a/Master_of_Orion_cover.png and /dev/null differ
diff --git a/PKGBUILD b/PKGBUILD
index d224f91..52f635b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,63 +1,55 @@
-# Maintainer: Alexander Jacocks <alexander@redhat.com>
-# Contributor: Frederic Bezies <fredbezies at gmail dot com>
-# Contributor: Benjamin Hodgetts <ben@xnode.org>
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: Alexander Jacocks (AUR) <alexander@redhat.com>
+# Contributor: Frederic Bezies (AUR) <fredbezies at gmail dot com>
+# Contributor: Benjamin Hodgetts (AUR) <ben@xnode.org>
pkgname=1oom-git
_pkgname=1oom
-pkgver=r1047.813ab8df
+pkgver=1.8.0.r1.fa65f0d
pkgrel=1
pkgdesc="1oom is a Master of Orion (1993) game engine recreation."
-arch=(x86_64)
-url=https://github.com/1oom-fork/1oom
+arch=('amd64' 'i386')
+url="https://github.com/${_pkgname}-fork/${_pkgname}"
license=('GPL2')
-depends=(sdl2 sdl2_mixer libsamplerate soundfont-fluid)
-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')
+makedepends=('git' 'libsdl2-dev' 'libsdl2-mixer-dev' 'libsamplerate0-dev')
+depends=('libsdl2-2.0-0' 'libsdl2-mixer-2.0-0' 'libsamplerate0')
+optdepends=('timgm6mb-soundfont: Soundfont, average but small'
+ 'fluid-soundfont-gm: Soundfont, good but big'
+ 'game-data-packager: Installer for game data files')
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+source=("git+${url}.git"
+ "${_pkgname}.png"
+ "${_pkgname}.desktop")
+b2sums=('SKIP'
+ '9698161cc4a241d13f7c377b4417ae5807d02a0ee544929fac98d60d454f2c9784223e9764ad5ef568afc6b69af6cd9d729c4a59bbc4a7161bb30d053eb30390'
+ '3e137452bec8de0af7e7dee85c5ade673dd02abf15b4c4255c266278dc57bb3243c1950922d2e10b37571552acf0253f936347a7fad56a542e2f20e1e70b9e83')
pkgver() {
- cd "${srcdir}/${_pkgname}"
- echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ cd "${srcdir}/${_pkgname}"
+ printf "%s.r%s.%s" "$(grep 'VERSION_1OOM=' configure.ac | cut -d 'v' -f 2)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd ${_pkgname}
+ cd "${_pkgname}"
autoreconf -fi
test -d build-native || mkdir build-native
cd build-native
- ../configure --prefix=/usr
- { test "$(nproc)" -gt 1 && make -j"$(nproc)" ;} || make
+ ../configure --prefix=/usr --bindir=/usr/games
+ make -j "$(nproc)"
}
package() {
- cd "${srcdir}/${_pkgname}/build-native"
- make PREFIX="/usr" DESTDIR="${pkgdir}" install
-
+ cd "${srcdir}/${_pkgname}"
+ make PREFIX="/usr" DESTDIR="${pkgdir}" install -C "build-native"
# install docs
- cd "${srcdir}/${_pkgname}/doc"
- mkdir -p "$pkgdir/usr/share/doc/${_pkgname}"
- cp *.txt "$pkgdir/usr/share/doc/${_pkgname}/"
- cd ..
- cp AUTHORS CHANGES CHANGES-GIT CODE_OF_CONDUCT COMPILING COPYING HACKING NEWS PHILOSOPHY README.md "$pkgdir/usr/share/doc/${_pkgname}/"
-
- # create storage directory for MOO data
- mkdir -p "$pkgdir/usr/share/1oom"
-
- # 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
+ mkdir -p "$pkgdir/usr/share/doc/${_pkgname}/instructions"
+ install -Dm644 README.md "$pkgdir/usr/share/doc/${_pkgname}/readme"
+ cp doc/*.txt "$pkgdir/usr/share/doc/${_pkgname}/instructions/"
+ cp AUTHORS CHANGES CODE_OF_CONDUCT COMPILING COPYING HACKING NEWS PHILOSOPHY "$pkgdir/usr/share/doc/${_pkgname}/"
+ # Convenience symlink
+ ln -s "/usr/games/1oom_classic_sdl2" "$pkgdir/usr/games/${_pkgname}"
+ # install icon and desktop file
+ install -Dm644 "${srcdir}/${_pkgname}.png" "$pkgdir/usr/share/icons/hicolor/96x96/apps/${_pkgname}.png"
+ install -Dm644 "${srcdir}/${_pkgname}.desktop" "$pkgdir/usr/share/applications/${_pkgname}.desktop"
}