diff options
author | ipochto | 2021-12-02 13:58:12 +0300 |
---|---|---|
committer | ipochto | 2021-12-02 13:58:12 +0300 |
commit | 9d6864a2b6591bd039486afd4bf6d432f13bfff6 (patch) | |
tree | 06610d7f725e933d2bbfe51c1405530c85c34977 | |
parent | 16fe2a866302d018d941790e39806c387c2029e5 (diff) | |
download | aur-9d6864a2b6591bd039486afd4bf6d432f13bfff6.tar.gz |
added optdepends. cleanup.
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 21 insertions, 14 deletions
@@ -1,6 +1,6 @@ pkgbase = war1gus-git - pkgdesc = Warcraft1 Mod that allows you to play Warcraft1 with the Stratagus engine (development version) - pkgver = 3.1.3.r817.592656a_20211117 + pkgdesc = Warcraft1 Mod that allows you to play Warcraft1 with the Stratagus engine (dev version) + pkgver = 3.1.3.r848.e2a55e3_20211202 pkgrel = 1 url = https://github.com/Wargus/war1gus arch = i686 @@ -12,8 +12,8 @@ pkgbase = war1gus-git depends = stratagus-git depends = ffmpeg depends = innoextract - provides = war1gus-git - provides = war1gus + optdepends = fluidsynth: midi music support + optdepends = soundfont-fluid: sound font for midi music support conflicts = war1gus source = war1gus-git::git://github.com/Wargus/war1gus.git md5sums = SKIP @@ -1,20 +1,29 @@ # Maintainer: ipochto <ipochto@gmail.com> pkgname=war1gus-git -pkgver=3.1.3.r817.592656a_20211117 +pkgver=3.1.3.r848.e2a55e3_20211202 pkgrel=1 -pkgdesc="Warcraft1 Mod that allows you to play Warcraft1 with the Stratagus engine (development version)" +pkgdesc="Warcraft1 Mod that allows you to play Warcraft1 with the Stratagus engine (dev version)" arch=("i686" "x86_64") url="https://github.com/Wargus/war1gus" license=('GPL') -depends=('stratagus-git' 'ffmpeg' 'innoextract') -makedepends=('git' 'cmake' 'imagemagick') - +makedepends=( + 'git' + 'cmake' + 'imagemagick' +) +depends=( + 'stratagus-git' + 'ffmpeg' + 'innoextract' +) +optdepends=( + 'fluidsynth: midi music support' + 'soundfont-fluid: sound font for midi music support' +) +conflicts=('war1gus') source=("${pkgname}::git://github.com/Wargus/war1gus.git") md5sums=('SKIP') -provides=(${pkgname} - 'war1gus') -conflicts=('war1gus') pkgver() { cd "$srcdir/${pkgname}" @@ -24,9 +33,7 @@ pkgver() { build() { cd ${srcdir} - cmake ${pkgname} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DGAMEDIR=/usr/bin -Bbuild - make -C build } |