diff options
author | ipochto | 2022-04-19 12:05:59 +0300 |
---|---|---|
committer | ipochto | 2022-04-19 12:05:59 +0300 |
commit | e5faa35fc79a5849405843837c8e6bf748d1df6a (patch) | |
tree | b9c738aecdd5abf05005a017507c642e13080653 | |
parent | 49ec644ed2189bd15e28b26fd8b4811196237737 (diff) | |
download | aur-e5faa35fc79a5849405843837c8e6bf748d1df6a.tar.gz |
Updated to 3.2.0. Some refac.
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 37 | ||||
-rw-r--r-- | wargus.install | 5 |
3 files changed, 31 insertions, 32 deletions
@@ -1,23 +1,22 @@ -# Generated by mksrcinfo v8 -# Thu Nov 18 08:34:04 UTC 2021 pkgbase = wargus pkgdesc = Warcraft2 Mod that allows you to play Warcraft2 with the Stratagus engine - pkgver = 3.1.2 + pkgver = 3.2.0 pkgrel = 1 - url = https://github.com/WARGUS/WARGUS - install = wargus.install + url = https://github.com/wargus/wargus arch = i686 arch = x86_64 license = GPL makedepends = cmake - depends = stratagus=3.1.2 + depends = stratagus=3.2.0 depends = ffmpeg2theora depends = cdparanoia depends = timidity++ - depends = gtk2 - depends = tolua++ - source = https://github.com/Wargus/wargus/archive/v3.1.2.tar.gz - md5sums = 1dcf2b4b45c56223cf7538dba174cd92 + optdepends = zenity: graphical UI for data extractor + optdepends = xdialog: graphical UI for data extractor + optdepends = dialog: console UI for data extractor + optdepends = fluidsynth: midi music support + optdepends = soundfont-fluid: sound font for midi music support + source = https://github.com/Wargus/wargus/archive/v3.2.0.tar.gz + md5sums = cf44515426df08736f38cba9d2f5cf36 pkgname = wargus - @@ -1,32 +1,37 @@ +# Maintainer: ipochto <ipochto@gmail.com> # Contributor: Thaodan <theodorstormgrade@gmail.com> pkgname=wargus -pkgver=3.1.2 +pkgver=3.2.0 pkgrel=1 pkgdesc="Warcraft2 Mod that allows you to play Warcraft2 with the Stratagus engine" arch=("i686" "x86_64") -url="https://github.com/WARGUS/WARGUS" +url="https://github.com/wargus/wargus" license=('GPL') -depends=( "stratagus=$pkgver" 'ffmpeg2theora' 'cdparanoia' 'timidity++' 'gtk2' 'tolua++' ) makedepends=('cmake') +depends=( + "stratagus=$pkgver" + 'ffmpeg2theora' + 'cdparanoia' + 'timidity++' +) +optdepends=( + 'zenity: graphical UI for data extractor' + 'xdialog: graphical UI for data extractor' + 'dialog: console UI for data extractor' + 'fluidsynth: midi music support' + 'soundfont-fluid: sound font for midi music support' +) source=("https://github.com/Wargus/$pkgname/archive/v${pkgver}.tar.gz") -md5sums=('1dcf2b4b45c56223cf7538dba174cd92') -install=wargus.install +md5sums=('cf44515426df08736f38cba9d2f5cf36') -prepare() -{ - mkdir -p build -} build() { - cd build - cmake "$srcdir"/"$pkgname-$pkgver" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DGAMEDIR=/usr/bin - make + cd ${srcdir} + cmake "${pkgname}-${pkgver}" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DGAMEDIR=/usr/bin -Bbuild + make -C build } package() { - cd build + cd $srcdir/build make DESTDIR=${pkgdir} install } - diff --git a/wargus.install b/wargus.install deleted file mode 100644 index 0d13132b2cbc..000000000000 --- a/wargus.install +++ /dev/null @@ -1,5 +0,0 @@ -post_install() { - msg2 "run sudo wartool -m -v -r /media/cdrom/data /usr/share/games/stratagus/wargus to convert& copy original date" - msg2 "only works with originial dos cd" -} - |