summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD35
-rw-r--r--doom64ex.desktop7
-rw-r--r--doom64ex.install6
5 files changed, 48 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 31c1ed6e218..1fdb8e30a26 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,11 @@
+# Generated by mksrcinfo v8
+# Sat Nov 3 04:31:25 UTC 2018
pkgbase = doom64ex-git
- pkgdesc = Doom64EX is a reverse-engineering project aimed to recreate Doom64 as close as possible with additional modding features.
- pkgver = r261.c2619d1
- pkgrel = 2
+ pkgdesc = Engine recreation of Doom 64, requires N64 ROM (not included).
+ pkgver = 0.r287.03a5e6a
+ pkgrel = 1
url = https://github.com/svkaiser/Doom64EX
+ install = doom64ex.install
arch = i686
arch = x86_64
license = GPL2
@@ -13,8 +16,10 @@ pkgbase = doom64ex-git
depends = sdl2
depends = sdl2_net
depends = zlib
- source = git+https://github.com/svkaiser/Doom64EX
- sha256sums = SKIP
+ source = doom64ex-git::git+https://github.com/svkaiser/Doom64EX
+ source = doom64ex.desktop
+ sha512sums = SKIP
+ sha512sums = ae87f565d150400bc95a38841aa39bd5e851f16d7ea6f5090e39a42811700bcdeef567f0ee6966a81911561e6de6c422c66072ddb62ba52940e314e367a1a826
pkgname = doom64ex-git
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..7f34d921abd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.pkg.tar*
+*.src.tar*
+/doom64ex-git/
+src
+pkg
diff --git a/PKGBUILD b/PKGBUILD
index bdd4f04a8ef..3579fbddb79 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,39 @@
-# Maintainer: Andrew Rabert <draje@nullsum.net>
-
-_pkgname=Doom64EX
pkgname=doom64ex-git
-pkgver=r261.c2619d1
-pkgrel=2
-pkgdesc="Doom64EX is a reverse-engineering project aimed to recreate Doom64 as close as possible with additional modding features."
+pkgver=0.r287.03a5e6a
+pkgrel=1
+pkgdesc="Engine recreation of Doom 64, requires N64 ROM (not included)."
arch=('i686' 'x86_64')
url="https://github.com/svkaiser/Doom64EX"
license=('GPL2')
depends=('fluidsynth' 'libpng' 'sdl2' 'sdl2_net' 'zlib')
makedepends=('cmake' 'git')
-source=("git+$url")
-sha256sums=('SKIP')
+install=doom64ex.install
+source=("${pkgname}::git+${url}"
+ doom64ex.desktop)
+sha512sums=('SKIP'
+ 'ae87f565d150400bc95a38841aa39bd5e851f16d7ea6f5090e39a42811700bcdeef567f0ee6966a81911561e6de6c422c66072ddb62ba52940e314e367a1a826')
pkgver() {
- cd "${srcdir}/${_pkgname}"
+ cd "$srcdir/$pkgname"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "${srcdir}/${_pkgname}"
+ mkdir "$srcdir/$pkgname/build"
+ cd "$srcdir/$pkgname/build"
- cmake . -DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_SYSTEM_FLUIDSYNTH=ON
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_SYSTEM_FLUIDSYNTH=ON
make
}
package() {
- cd "${srcdir}/${_pkgname}"
+ cd "$srcdir/$pkgname/build"
+
+ make DESTDIR="$pkgdir" install
- make DESTDIR="$pkgdir" libdir="$pkgdir/usr/lib" install
+ cd ..
+ install -Dm644 distrib/doom64ex.png "$pkgdir/usr/share/icons/doom64ex.png"
+ install -Dm644 ../doom64ex.desktop "$pkgdir/usr/share/applications/doom64ex.desktop"
}
diff --git a/doom64ex.desktop b/doom64ex.desktop
new file mode 100644
index 00000000000..40ac2841908
--- /dev/null
+++ b/doom64ex.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=Doom64 EX
+Comment=Engine recreation of Doom 64
+Exec=doom64ex
+Icon=doom64ex
+Categories=Game;ActionGame;
diff --git a/doom64ex.install b/doom64ex.install
new file mode 100644
index 00000000000..4faef6871cc
--- /dev/null
+++ b/doom64ex.install
@@ -0,0 +1,6 @@
+post_install() {
+ cat <<EOF
+You need to run "doom64ex -wadgen doom64.n64", where doom64.n64 is the path to
+the ROM dump of the original Nintendo 64 game, before this port will operate.
+EOF
+}