diff options
author | McModder | 2020-05-16 18:24:27 +0300 |
---|---|---|
committer | McModder | 2020-05-16 18:24:27 +0300 |
commit | 5ecdc5cf14ac8f77d098750e64d588939ca2dc03 (patch) | |
tree | ab84db4cbedc04c32b47afea2eec302c499c7a91 | |
parent | 75d447270bd28c516c3247c6271471f9cb315115 (diff) | |
download | aur-5ecdc5cf14ac8f77d098750e64d588939ca2dc03.tar.gz |
added fluidsynth support
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 9 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = openttd-git pkgdesc = An engine for running Transport Tycoon Deluxe (latest GIT build) - pkgver = 23369.adb50cebc + pkgver = 24198.edc7ee2cd pkgrel = 1 url = http://openttd.org arch = i686 @@ -15,11 +15,9 @@ pkgbase = openttd-git depends = hicolor-icon-theme depends = desktop-file-utils depends = xz + depends = fluidsynth optdepends = openttd-opengfx: free graphics optdepends = openttd-opensfx: free soundset - optdepends = timidity++: for in-game music - optdepends = allegro4: allegro support (install and rebuild game; launch the game with -v allegro) - optdepends = sdl: old SDL1 support source = openttd-git::git+https://github.com/OpenTTD/OpenTTD.git sha256sums = SKIP @@ -1,18 +1,15 @@ # Maintainer: McModder <mcmodder@mcmodder.ru> pkgname=openttd-git -pkgver=23369.adb50cebc +pkgver=24198.edc7ee2cd pkgrel=1 pkgdesc='An engine for running Transport Tycoon Deluxe (latest GIT build)' arch=('i686' 'x86_64') url='http://openttd.org' license=('GPL') -depends=('libpng' 'sdl2' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz') +depends=('libpng' 'sdl2' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz' 'fluidsynth') optdepends=('openttd-opengfx: free graphics' - 'openttd-opensfx: free soundset' - 'timidity++: for in-game music' - 'allegro4: allegro support (install and rebuild game; launch the game with -v allegro)' - 'sdl: old SDL1 support') + 'openttd-opensfx: free soundset') makedepends=('git') source=("$pkgname::git+https://github.com/OpenTTD/OpenTTD.git") @@ -36,8 +33,9 @@ build() { --data-dir=share/${pkgname} \ --install-dir=${pkgdir} \ --doc-dir=share/doc/${pkgname} \ - --menu-name="OpenTTD-latest" \ - --personal-dir=.${pkgname} + --with-fluidsynth \ + --menu-name="OpenTTD-git" \ + --personal-dir=.${pkgname} make } @@ -46,7 +44,7 @@ package() { cd ${pkgname} # Makefile.bundle will fail if where will be no readme.txt - cp README.md readme.txt + [ ! -f readme.txt ] && cp README.md readme.txt make install } |