diff options
author | Erich Eckner <git@eckner.net> | 2017-08-14 10:19:44 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-14 10:19:44 +0200 |
commit | 19ffb6f93e7b7246abc458db70e5e9c1833f2615 (patch) | |
tree | ba56cfa977f169b38966268123f8e04a48fafda9 /openttd-svn/PKGBUILD | |
parent | 397be2e656a53297291ce159087d7a1bb716ba40 (diff) | |
download | archlinuxewe-19ffb6f93e7b7246abc458db70e5e9c1833f2615.tar.xz |
openttd-svn: 27889 -> 27893, add check()
Diffstat (limited to 'openttd-svn/PKGBUILD')
-rwxr-xr-x | openttd-svn/PKGBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/openttd-svn/PKGBUILD b/openttd-svn/PKGBUILD index 9d4a928f1..67897c56e 100755 --- a/openttd-svn/PKGBUILD +++ b/openttd-svn/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Erich Eckner <arch at eckner dot net> pkgname=openttd-svn -pkgver=27889 +pkgver=27893 pkgrel=1 pkgdesc="A FOSS clone of Transport Tycoon Deluxe." arch=('x86_64' 'i686') @@ -17,7 +17,9 @@ depends=( 'xz' ) makedepends=('subversion') -checkdepends=() +checkdepends=( + 'openttd-opengfx' +) optdepends=( 'openttd-opengfx: free graphics' 'openttd-opensfx: free soundset' @@ -35,7 +37,7 @@ source=( "clipboard.grf" ) sha512sums=('SKIP' - 'f249f99e85f5e35ad77c007ccdeacec266adaf5c0d922bde5334fe066ba28282e93d251527df15b26d3a614a9909700e880f3dcc3f3840639b34ced16710048d' + 'fb20d4849d38891d5649eee2a0ce601dcdf8f7ba034a28325fc59324e0a14951d444bc70ecfe67da2b85d8ca321b7d0185e243fba536847bfa62021faa255591' '69ac38abc75d728ae3a4b131e819223f496f3e6554d2e8e35e6950c6ceb41a293af2aec6df2ef4b82a9e5d12ed87026e85e181adb0fc142407da94ad4d70d2b6' 'aa1f5d5c4fd9ff487bc03ed5c10701e99ae9fd29ae0cd65a06171486298558d1c26ced49ac8687acc5b1003a6538f6c83917992348cbd2b7426afdf0759cb1a5') @@ -71,14 +73,19 @@ build() { --personal-dir=.openttd \ --install-dir=$pkgdir \ make + install -m644 $srcdir/clipboard.grf $srcdir/trunk/bin/baseset/ + +} +check() { + cd trunk + make test } package() { cd trunk make DESTDIR=$pkgdir install - install -m644 $srcdir/clipboard.grf $pkgdir/usr/share/openttd/baseset/ # Remove unnecessary languages cp $pkgdir/usr/share/openttd/lang/{english,german}.lng $srcdir |