diff options
author | M0Rf30 | 2021-04-06 10:49:44 +0200 |
---|---|---|
committer | M0Rf30 | 2021-04-06 10:49:44 +0200 |
commit | f8a934b651bc223f0e4ce3c69188d2c29830c342 (patch) | |
tree | b79309d59cad1183f0a742e1a03bb7e3e630f485 | |
parent | f3d5008b65e1c8ccd1d8999961fe28c7cdf278fd (diff) | |
download | aur-f8a934b651bc223f0e4ce3c69188d2c29830c342.tar.gz |
devilutionx: 1.2.0
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 22 | ||||
-rw-r--r-- | devilutionx.install | 11 |
3 files changed, 19 insertions, 22 deletions
@@ -1,7 +1,7 @@ pkgbase = devilutionx pkgdesc = Diablo devolved for linux - pkgver = 1.1.0 - pkgrel = 2 + pkgver = 1.2.0 + pkgrel = 1 url = https://github.com/diasurgical/devilutionX install = devilutionx.install arch = armv6h @@ -18,8 +18,8 @@ pkgbase = devilutionx depends = sdl2_mixer depends = sdl2_ttf options = strip - source = https://github.com/diasurgical/devilutionX/archive/1.1.0.tar.gz - md5sums = 76e7f5219e8f58ee71ab671b13ce3139 + source = https://github.com/diasurgical/devilutionX/archive/1.2.0.tar.gz + sha256sums = 63a06043b60a5866933eafcc078052e7f6a5878757c451fe74efb141b94386ac pkgname = devilutionx @@ -1,23 +1,22 @@ # Maintainer: robertfoster # Contributor: LIN Rs <LinRs[d]users.noreply.github.com> # Contributor: yochananmarqos <mark.wagie at tutanota dot com> - _pkgname=devilutionX pkgname=devilutionx -pkgver=1.1.0 -pkgrel=2 +pkgver=1.2.0 +pkgrel=1 pkgdesc="Diablo devolved for linux" arch=('armv6h' 'armv7h' 'arm' 'aarch64' 'i686' 'x86_64') url="https://github.com/diasurgical/devilutionX" license=('custom:unlicense') depends=('graphite' 'libsodium' 'sdl2_mixer' 'sdl2_ttf') makedepends=('cmake' 'gcc-libs') -install="$pkgname".install +install="${pkgname}".install options=('strip') -source=("https://github.com/diasurgical/devilutionX/archive/$pkgver.tar.gz") +source=("https://github.com/diasurgical/devilutionX/archive/${pkgver}.tar.gz") prepare() { - cd "$srcdir/${_pkgname}-$pkgver" + cd "${srcdir}/${_pkgname}-$pkgver" if [ -d build ]; then rm -rf build fi @@ -25,20 +24,19 @@ prepare() { } build() { - cd "$srcdir/${_pkgname}-$pkgver/build" + cd "${srcdir}/${_pkgname}-${pkgver}/build" cmake .. \ - -DCMAKE_CXX_FLAGS_RELEASE="-D_FORTIFY_SOURCE=0" \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DBINARY_RELEASE=ON \ - -DVERSION_NUM="$pkgver" + -DVERSION_NUM="${pkgver}" cmake --build . } package() { - cd "$srcdir/${_pkgname}-$pkgver/build" - DESTDIR=$pkgdir \ + cd "${srcdir}/${_pkgname}-${pkgver}/build" + DESTDIR=${pkgdir} \ cmake --install . } -md5sums=('76e7f5219e8f58ee71ab671b13ce3139') +sha256sums=('63a06043b60a5866933eafcc078052e7f6a5878757c451fe74efb141b94386ac') diff --git a/devilutionx.install b/devilutionx.install index a6b285418c6f..2d81a8a2e9dc 100644 --- a/devilutionx.install +++ b/devilutionx.install @@ -1,13 +1,12 @@ -post_install(){ +post_install() { -cat << EOF + cat <<EOF -Copy required files(e.g. diablodat.mpq) to your Diablo directory -(default is ~/.local/share/diasurgical/devilution) or move the -devilution executable in the same directory as "diablodat.mpq". +Copy required files(e.g. diablodat.mpq,hellfire.mpq..) to your Diablo directory +(default is ~/.local/share/diasurgical/devilution) EOF } post_upgrade() { -post_install + post_install } |