makedeb


1oom 1.0-0


1oom is a Master of Orion (1993) game engine recreation.

Click here to go back to the commit logs for 1oom.

Commit:


Hash: 491b4ce49aff59ce1a24519272b3ea24966eb761

Message: rollback original fork and version

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 5e00a65..dbaabdc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,8 +3,8 @@ pkgname = 1oom
 pkgbase = 1oom
 pkgdesc = 1oom is a Master of Orion (1993) game engine recreation.
 pkgrel = 0
-pkgver = 1.8.0
-url = https://github.com/1oom-fork/1oom
+pkgver = 1.0
+url = https://gitlab.com/Tapani_/1oom
 arch = amd64
 arch = i386
 depends = libsdl2-2.0-0
@@ -17,12 +17,12 @@ 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
-source = 1oom-1.8.0.tar.gz::https://github.com/1oom-fork/1oom/archive/refs/tags/f1.8.0.tar.gz
+source = 1oom-1.0.tar.gz::https://gitlab.com/Tapani_/1oom/-/archive/v1.0/1oom-v1.0.tar.gz
 source = 1oom.png
 source = 1oom.desktop
-b2sums = c7f5251eccf10802554d2c2965906c246c8ad92abb4d57e95aa4ad920faa1977058ed7a89e573e718371d275129ee296a79c9304c1117d14956aa493576570f4
+b2sums = e54f5b803dd40110080da4b4c64964171cb2fc0fa60083cc0318f82c4ace0a5006e1c8e1e44b53c7f4acf1ee6287b861c373cba9dc7d9f32eaaf0a2cfa14a845
 b2sums = 9698161cc4a241d13f7c377b4417ae5807d02a0ee544929fac98d60d454f2c9784223e9764ad5ef568afc6b69af6cd9d729c4a59bbc4a7161bb30d053eb30390
-b2sums = 7f1e3dd0899920e012d2bf25f12055f311efd6aecea1cde03a3f054590e63e021c84a546382ee444fa6c511b4fa0a2ff5eb758a9ad9829d0a3fe32f8a1c7f0f1
+b2sums = 3e137452bec8de0af7e7dee85c5ade673dd02abf15b4c4255c266278dc57bb3243c1950922d2e10b37571552acf0253f936347a7fad56a542e2f20e1e70b9e83
 makedepends = libsdl2-dev
 makedepends = libsdl2-mixer-dev
 makedepends = libsamplerate0-dev
diff --git a/1oom.desktop b/1oom.desktop
index ff7e8a2..4d9aece 100644
--- a/1oom.desktop
+++ b/1oom.desktop
@@ -1,6 +1,5 @@
 [Desktop Entry]
 Version=1.0
-
 Type=Application
 Name=1oom
 Name[en]=1oom
diff --git a/PKGBUILD b/PKGBUILD
index badf6ab..8b2b478 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,26 +4,26 @@
 # Contributor: Benjamin Hodgetts (AUR) <ben@xnode.org>
 
 pkgname=1oom
-pkgver=1.8.0
+pkgver=1.0
 pkgrel=0
 pkgdesc="1oom is a Master of Orion (1993) game engine recreation."
 arch=('amd64' 'i386')
-url=https://github.com/1oom-fork/1oom
+url="https://gitlab.com/Tapani_/${pkgname}"
 license=('GPL2')
 makedepends=('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')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}-fork/${pkgname}/archive/refs/tags/f${pkgver}.tar.gz"
+source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz"
         "${pkgname}.png"
         "${pkgname}.desktop")
-b2sums=('c7f5251eccf10802554d2c2965906c246c8ad92abb4d57e95aa4ad920faa1977058ed7a89e573e718371d275129ee296a79c9304c1117d14956aa493576570f4'
+b2sums=('e54f5b803dd40110080da4b4c64964171cb2fc0fa60083cc0318f82c4ace0a5006e1c8e1e44b53c7f4acf1ee6287b861c373cba9dc7d9f32eaaf0a2cfa14a845'
         '9698161cc4a241d13f7c377b4417ae5807d02a0ee544929fac98d60d454f2c9784223e9764ad5ef568afc6b69af6cd9d729c4a59bbc4a7161bb30d053eb30390'
-        '7f1e3dd0899920e012d2bf25f12055f311efd6aecea1cde03a3f054590e63e021c84a546382ee444fa6c511b4fa0a2ff5eb758a9ad9829d0a3fe32f8a1c7f0f1')
+        '3e137452bec8de0af7e7dee85c5ade673dd02abf15b4c4255c266278dc57bb3243c1950922d2e10b37571552acf0253f936347a7fad56a542e2f20e1e70b9e83')
 
 build() {
-  cd "${pkgname}-f${pkgver}"
+  cd "${pkgname}-v${pkgver}"
   autoreconf -fi
   test -d build-native || mkdir build-native
   cd build-native
@@ -32,21 +32,16 @@ build() {
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-f${pkgver}"
+  cd "${srcdir}/${pkgname}-v${pkgver}"
   make PREFIX="/usr" DESTDIR="${pkgdir}" install -C "build-native"
-
   # install docs
   mkdir -p "$pkgdir/usr/share/doc/${pkgname}/instructions"
-  cp README.md "$pkgdir/usr/share/doc/${pkgname}/readme"
+  install -Dm644 README "$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}/"
-
+  cp AUTHORS CODE_OF_CONDUCT COPYING HACKING NEWS PHILOSOPHY "$pkgdir/usr/share/doc/${pkgname}/"
   # Convenience symlink
   ln -s "/usr/games/1oom_classic_sdl2" "$pkgdir/usr/games/${pkgname}"
-
-  # install icon
-  install -Dm 0644 "${srcdir}/${pkgname}.png" "$pkgdir/usr/share/icons/hicolor/96x96/apps/${pkgname}.png"
-
-  # install desktop file
+  # 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"
 }