mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
39 lines
968 B
Bash
39 lines
968 B
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
pkgname=openttd
|
|
pkgver=1.1.2
|
|
pkgrel=1
|
|
pkgdesc="An engine for running Transport Tycoon Deluxe or alternative data files"
|
|
arch=('i686' 'x86_64')
|
|
url='http://www.openttd.org'
|
|
license=('GPL2')
|
|
depends=('desktop-file-utils' 'fontconfig' 'hicolor-icon-theme' 'icu' 'libpng' 'sdl')
|
|
conflicts=('openttd-dev' 'openttd-svn')
|
|
changelog=ChangeLog
|
|
source=("http://binaries.openttd.org/releases/$pkgver/$pkgname-$pkgver-source.tar.xz")
|
|
md5sums=('d7b8ca72315b232727aa2cdaa12bb05a')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
./configure \
|
|
--prefix-dir=/usr \
|
|
--binary-name=$pkgname \
|
|
--binary-dir=bin \
|
|
--data-dir=share/$pkgname \
|
|
--install-dir=$pkgdir \
|
|
--doc-dir=share/doc/$pkgname \
|
|
--menu-name="OpenTTD" \
|
|
--personal-dir=.$pkgname
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
make install
|
|
}
|