summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-18 20:46:40 +0200
committerErich Eckner <git@eckner.net>2020-06-18 20:46:40 +0200
commitceb02a8d0ae57fc2a05591e366db0d79a4472226 (patch)
tree9cf191d4f682af6a0a2ee853204b59a0440e162c
parentf750476ddbc0140f66efe1aa49e7e481beb9fb28 (diff)
downloadarchlinuxewe.git.save-ceb02a8d0ae57fc2a05591e366db0d79a4472226.tar.xz
openttd-git: 29498.208614343-1 -> 29505.b0f192abc-1
-rw-r--r--openttd-git/PKGBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/openttd-git/PKGBUILD b/openttd-git/PKGBUILD
index 9772fd00..1497ec0d 100644
--- a/openttd-git/PKGBUILD
+++ b/openttd-git/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=openttd-git
-pkgver=29498.208614343
+pkgver=29505.b0f192abc
_commit=${pkgver#*.}
pkgrel=1
pkgdesc="A FOSS clone of Transport Tycoon Deluxe."
@@ -125,19 +125,13 @@ package() {
cd "${srcdir}/${pkgname}/build"
make DESTDIR=$pkgdir install
- mv "$pkgdir/usr/share/man/openttd"/* "$pkgdir/usr/share/man/"
- rmdir "$pkgdir/usr/share/man/openttd"
-
- mv "$pkgdir/usr/share/games/openttd" "$pkgdir/usr/share/"
- rmdir "$pkgdir/usr/share/games"
-
# Remove unnecessary languages
- cp $pkgdir/usr/share/openttd/lang/{english,german}.lng $srcdir
- rm $pkgdir/usr/share/openttd/lang/*
- install -m 644 $srcdir/{english,german}.lng $pkgdir/usr/share/openttd/lang
+ cp $pkgdir/usr/share/games/openttd/lang/{english,german}.lng $srcdir
+ rm $pkgdir/usr/share/games/openttd/lang/*
+ install -m 644 $srcdir/{english,german}.lng $pkgdir/usr/share/games/openttd/lang
# Remove junk
- rm -rf $pkgdir/usr/share/doc
- rm -rf $pkgdir/usr/share/openttd/scripts
+ rm -rf $pkgdir/usr/share/games/doc
+ rm -rf $pkgdir/usr/share/games/openttd/scripts
}