aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7324bfa717dc68e3ef3dfb3092413669dc3555e4 (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
# Dominions Server Configuration
# Maintainer: Dian Fay <dian.m.fay@gmail.com>
pkgname=dominions-server
pkgver=5
pkgrel=1
pkgdesc="Configure and run Dominions 5 as a headless server"
arch=("x86_64")
url="http://www.illwinter.com/dom5/"
license=("MIT")
install=$pkgname.install
depends_x86_64=("steamcmd")
source=(
  dominions-server
  dominions-server.service
  dominions-sysusers.conf
  dominions-tmpfile.conf
  dominions
)
replaces=("dom4-server")

package() {
  install -Dm744 "$srcdir/dominions-server" "$pkgdir/usr/bin/dominions-server"
  install -Dm644 "$srcdir/dominions-server.service" "$pkgdir/usr/lib/systemd/system/dominions-server.service"

  install -Dm755 "$srcdir/dominions" "$pkgdir/usr/bin/dominions"

  install -Dm644 "$srcdir/dominions-sysusers.conf" "$pkgdir/usr/lib/sysusers.d/dominions.conf"
  install -Dm644 "$srcdir/dominions-tmpfile.conf" "$pkgdir/usr/lib/tmpfiles.d/dominions.conf"
}
md5sums=('1c50c7bf2b0bd067f1749c9153bd4c36'
         '8194de8c40005e24334d6c402fcc97e1'
         'b1db7bda72a917fed819d1251361b1ca'
         '0c20183b083e3927a5a49771cd530004'
         '5ecfb39e75cb603afaeaae8a32921288')