summaryrefslogtreecommitdiff
path: root/pcr/odamex/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-04-12 03:37:34 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-04-12 03:37:34 -0300
commit4904fdb9d0a102976eb32ce85f83b37ecde4057b (patch)
treec3fff074943d51471569ad6808aa4a98b28c0daa /pcr/odamex/PKGBUILD
parent19184c77c98544d840e43224c2a5a7eb9c9031f1 (diff)
downloadabslibre-4904fdb9d0a102976eb32ce85f83b37ecde4057b.tar.gz
abslibre-4904fdb9d0a102976eb32ce85f83b37ecde4057b.tar.bz2
abslibre-4904fdb9d0a102976eb32ce85f83b37ecde4057b.zip
odamex: add new package to [pcr] -> https://labs.parabola.nu/issues/977
Diffstat (limited to 'pcr/odamex/PKGBUILD')
-rw-r--r--pcr/odamex/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/pcr/odamex/PKGBUILD b/pcr/odamex/PKGBUILD
new file mode 100644
index 000000000..9040e33cd
--- /dev/null
+++ b/pcr/odamex/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer (Arch): Mikael Eriksson <mikael_eriksson@miffe.org>
+# Contributor (Arch): Thomas Dziedzic < gostrc at gmail >
+# Contributor (Arch): Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
+# Contributor (Arch): Curtis Smith <kman922002@gmail.com>
+
+pkgname=odamex
+pkgver=0.7.0
+pkgrel=2
+pkgdesc='A free client/server multiplayer engine for the classic FPS Doom.'
+arch=('i686' 'x86_64')
+url='http://odamex.net/'
+license=('GPL')
+depends=('sdl_mixer>=1.2.6' 'wxgtk')
+makedepends=('cmake')
+optdepends=('timidity++: Required for music')
+source=("http://downloads.sourceforge.net/odamex/odamex-src-${pkgver}.tar.bz2"
+ 0001-Fix-WAD-path.patch)
+md5sums=('312769b98bbdb450454e4676b2c55986'
+ 'bb32f96f8b78f71456ae758b48e3fbe1')
+
+build() {
+ cd odamex-src-${pkgver}
+
+ patch -p1 -i $srcdir/0001-Fix-WAD-path.patch
+
+ cmake .
+ make
+}
+
+package() {
+ cd odamex-src-${pkgver}
+
+ install -Dm755 client/odamex "$pkgdir/usr/bin/odamex"
+ install -Dm755 server/odasrv "$pkgdir/usr/bin/odasrv"
+ install -Dm755 odalaunch/odalaunch "$pkgdir/usr/bin/odalaunch"
+ install -Dm644 odamex.wad "$pkgdir/usr/share/odamex/odamex.wad"
+ install -Dm644 media/icon_odamex_96.png "$pkgdir/usr/share/pixmaps/odamex.png"
+ install -Dm644 media/icon_odasrv_96.png "$pkgdir/usr/share/pixmaps/odasrv.png"
+ install -Dm644 media/icon_odalaunch_96.png "$pkgdir/usr/share/pixmaps/odalaunch.png"
+ install -Dm644 installer/arch/odamex.desktop "$pkgdir/usr/share/applications/odamex.desktop"
+ install -Dm644 installer/arch/odasrv.desktop "$pkgdir/usr/share/applications/odasrv.desktop"
+ install -Dm644 installer/arch/odalaunch.desktop "$pkgdir/usr/share/applications/odalaunch.desktop"
+}
+
+# vim:set ts=2 sw=2 et: