summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cc100b9abb77115bca850ff8ca4bcd649fe8ddc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#! /bin/bash

pkgname="darkmod"
provides=("${pkgname}")
conflicts=("${pkgname}")

pkgver=2.07.1.28
pkgrel=1
arch=("x86_64")

pkgdesc="First person forgery stealth game"
license=("GPL3" "BSD" "CCPL:by-nc-sa")
url="http://www.thedarkmod.com"

SourcePath="https://gitlab.com/es20490446e/darkmod-linux-packager"
source=("git+${SourcePath}.git")
md5sums=("SKIP")

depends=("curl" "glew" "libjpeg-turbo" "libpng" "libpng12" "libpulse" "libxxf86vm" "openal" "silently")
makedepends=("git" "unzip")


pkgver () {
	"${srcdir}/darkmod-linux-packager/package version.sh"
}


build () {
	"${srcdir}/darkmod-linux-packager/build.sh"
}


package () {
	mv "${srcdir}/darkmod-linux-packager/build/usr" "${pkgdir}"
}