summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 96c6eda9050bc7c13085fb24f8ff535d6c3c4a63 (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
# Maintainer: aqua <aqua@iserlohn-fortress.net>

pkgname=devilutionX
pkgdesc='Diablo build for modern operating systems'
license=('Unlicense')
pkgver=1.1.0
pkgrel=0

depends=('sdl2' 'sdl2_mixer' 'sdl2_ttf')
makedepends=('cmake')
arch=('x86_64')

url='https://github.com/diasurgical/devilutionX'
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
	)
sha512sums=('341e7f2e74e7af4a7b42054b58b6518c2f286f2fdcb21c5553a15912c044ea08f6c7b07a2079e7e795a5146e7a301789fe32b6fda5ff9fbec0654d886d423b38')

build() {
  cd "$pkgname-$pkgver"
  cd build
  cmake -DBINARY_RELEASE=ON -DNONET=ON -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd "$pkgname-$pkgver/build"
  make DESTDIR="$pkgdir" install
}