From b28bd46f46f3023bc67d031b379c2fd47c64ef14 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 7 Mar 2021 10:34:31 +0200 Subject: Initial commit (v1.1.0) --- PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..933c6e3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: aqua + +pkgname=devilutionX +pkgdesc='Diablo build for modern operating systems' +license=('Unlicense') +pkgver=1.1.0 +pkgrel=0 + +depends=('sdl2' 'sdl2_mixer' 'sdl2_ttf') +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 +} -- cgit v1.2.1