summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Baggaley2015-09-15 08:06:05 +0100
committerSean Baggaley2015-09-15 08:06:05 +0100
commit7ca855e28f802fd83c462c2c9f66fdad7aa851ae (patch)
treebf91dc6181910bf12f6c128bc47bdddc77ffe971
downloadaur-7ca855e28f802fd83c462c2c9f66fdad7aa851ae.tar.gz
first version
-rw-r--r--.SRCINFO22
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD38
-rw-r--r--doomseeker-launch-script.sh4
-rw-r--r--doomseeker.desktop10
5 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..85f7cb17f04
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = doomseeker
+ pkgdesc = A cross-platform Doom server browser
+ pkgver = 1.0
+ pkgrel = 1
+ url = http://doomseeker.drdteam.org/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = gcc
+ makedepends = cmake
+ makedepends = mercurial
+ makedepends = make
+ depends = qt4
+ depends = zlib
+ depends = bzip2
+ source = https://bitbucket.org/Blzut3/doomseeker/get/1.0.tar.gz
+ source = doomseeker.desktop
+ sha256sums = 96c6b5b4832eae8caf0ab16b9f3fb5d04513f5a637098069b753e627c6f9df05
+ sha256sums = 799f4e9a2a9c538c0f4e342d4d947d2a31af99461675a55e52eefc0641388a4a
+
+pkgname = doomseeker
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..5642e2f2619
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+/*.tar.gz
+/*.tar.bz2
+/*.tar.xz
+/*.zip
+/*.7z
+/pkg/
+/src/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bfd5080e684
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+pkgname=doomseeker
+pkgver=1.0
+pkgrel=1
+pkgdesc="A cross-platform Doom server browser"
+arch=(i686 x86_64)
+url="http://doomseeker.drdteam.org/"
+license=("GPL2")
+depends=('qt4' 'zlib' 'bzip2')
+makedepends=('gcc' 'cmake' 'mercurial' 'make')
+source=("https://bitbucket.org/Blzut3/doomseeker/get/1.0.tar.gz"
+ "doomseeker.desktop")
+sha256sums=('96c6b5b4832eae8caf0ab16b9f3fb5d04513f5a637098069b753e627c6f9df05'
+ '799f4e9a2a9c538c0f4e342d4d947d2a31af99461675a55e52eefc0641388a4a')
+
+_bbdir=Blzut3-doomseeker-b1cb0d67f9b9
+
+build() {
+ cd $srcdir/$_bbdir
+ mkdir -p build
+ cd build
+ cmake -DCMAKE_BUILD_TYPE=Release .. && \
+ make
+}
+
+package() {
+ mkdir -p $pkgdir/usr/games/doomseeker/engines/
+ cd $srcdir/$_bbdir/build
+ install -Dm755 doomseeker "$pkgdir/usr/games/doomseeker"
+ install -Dm755 libwadseeker.so "$pkgdir/usr/games/doomseeker"
+ cd engines
+ for f in *.so; do
+ install -Dm755 $f "$pkgdir/usr/games/doomseeker/engines/$f"
+ done
+ cd ../../
+ install -Dm644 media/icon.png "$pkgdir/usr/share/pixmaps/doomseeker.png"
+ install -Dm755 $srcdir/../doomseeker-launch-script.sh "$pkgdir/usr/bin/doomseeker"
+ install -Dm644 "$srcdir/../doomseeker.desktop" "$pkgdir/usr/share/applications/doomseeker.desktop"
+}
diff --git a/doomseeker-launch-script.sh b/doomseeker-launch-script.sh
new file mode 100644
index 00000000000..7d4aab37c40
--- /dev/null
+++ b/doomseeker-launch-script.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export LD_LIBRARY_PATH=/usr/games/doomseeker
+exec /usr/games/doomseeker/doomseeker "$@"
diff --git a/doomseeker.desktop b/doomseeker.desktop
new file mode 100644
index 00000000000..65e830d5fa4
--- /dev/null
+++ b/doomseeker.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Name=Doomseeker
+GenericName=Enhanced Doom Engine
+Icon=doomseeker
+Exec=doomseeker %F
+Terminal=false
+Categories=Utility;Game