summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGianluca Boiano2019-02-27 14:28:52 +0100
committerGianluca Boiano2019-02-27 14:28:52 +0100
commit061205e071f4a90a52b021f309630f9b266b2ed5 (patch)
tree3bcb35a8b6b6e2e3daa7dea89845b08fcf8052fc /PKGBUILD
parentcf1029f24022e1f3a3caa169097499a944073ba5 (diff)
downloadaur-061205e071f4a90a52b021f309630f9b266b2ed5.tar.gz
dhewm3: 1.5.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD50
1 files changed, 28 insertions, 22 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 56d4b22f0ca..5e16bd8baa3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,8 @@
-# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
+# Maintainer: robertfoster
+# Contributor: Mike Swanson <mikeonthecomputer@gmail.com>
+
pkgname=dhewm3
-pkgver=1.4.1
+pkgver=1.5.0
pkgrel=1
pkgdesc="Doom 3 engine with native 64-bit support, SDL, and OpenAL"
arch=('i686' 'x86_64')
@@ -9,34 +11,38 @@ license=('GPL3')
depends=('curl' 'doom3-data' 'libjpeg' 'libvorbis' 'openal' 'sdl2')
makedepends=('cmake')
source=("$url/archive/$pkgver.tar.gz"
- 'dhewm3.desktop'
- '0001-game_data_location.patch')
-sha256sums=('587586142d863ff98051619f0d49c056c5302e919c655a50af69a8293bc3ae08'
- '7c9ae892c6cf0453fcd57731689ccedac8f8ce10f33043f7dd5fb66bd73d1287'
- 'dbbb0607a92482a1b753cf9cac97dcc57345b92ee43449c9826f5b23af7624f9')
+ "$pkgname.desktop"
+ "$pkgname.png"
+'0001-game_data_location.patch')
prepare() {
- cd "$pkgname-$pkgver"
-
- for patch in ../*.patch; do
- if [ ! -f "$patch" ]; then
- break;
- else
- patch -p1 -i "$patch"
- fi
- done
+ cd "$pkgname-$pkgver"
+
+ for patch in ../*.patch; do
+ if [ ! -f "$patch" ]; then
+ break;
+ else
+ patch -p1 -i "$patch"
+ fi
+ done
}
build() {
- cd "$pkgname-$pkgver/neo"
+ cd "$pkgname-$pkgver/neo"
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DD3XP=1 -DDEDICATED=1 .
- make
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DD3XP=1 -DDEDICATED=1 .
+ make
}
package() {
- cd "$pkgname-$pkgver/neo"
+ cd "$pkgname-$pkgver/neo"
- make DESTDIR="$pkgdir" libdir="$pkgdir/usr/lib" install
- install -Dm644 ../../dhewm3.desktop "$pkgdir/usr/share/applications/dhewm3.desktop"
+ make DESTDIR="$pkgdir" libdir="$pkgdir/usr/lib" install
+ install -Dm644 ../../$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 ../../$pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
}
+
+md5sums=('cc770a4e454704405a83d8ea170706e8'
+ '300636e2e3ac0566dc6ceb63f121850e'
+ '8b834c4c1cd5ccb25b1afe6cb47941a8'
+'27ac81efff2c25cd672979ea931c2cce')