[arch-commits] Commit in openttd/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Mon May 24 21:40:30 UTC 2021
Date: Monday, May 24, 2021 @ 21:40:30
Author: arodseth
Revision: 944935
archrelease: copy trunk to community-x86_64
Added:
openttd/repos/community-x86_64/PKGBUILD
(from rev 944934, openttd/trunk/PKGBUILD)
Deleted:
openttd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 67 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-24 21:40:22 UTC (rev 944934)
+++ PKGBUILD 2021-05-24 21:40:30 UTC (rev 944935)
@@ -1,33 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
-
-pkgname=openttd
-pkgver=1.11.2
-pkgrel=1
-pkgdesc='Engine for running Transport Tycoon Deluxe'
-arch=(x86_64)
-url='https://www.openttd.org'
-license=(GPL)
-depends=(fluidsynth fontconfig hicolor-icon-theme libpng)
-makedepends=(cmake ninja)
-optdepends=('openttd-opengfx: free graphics'
- 'openttd-opensfx: free soundset')
-source=("https://proxy.binaries.openttd.org/openttd-releases/$pkgver/$pkgname-$pkgver-source.tar.xz")
-b2sums=('c71fd98a480566aede29f84afbd100b6d0dfa80311860907a7287d2d5bed74bd492c2b1012cd83f45fe68d60fb0c2378e1384530a84c28bd7fbd907b45110491')
-
-build() {
- cmake \
- -B build \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_BINDIR=bin \
- -DCMAKE_INSTALL_DATADIR=/usr/share \
- -DGLOBAL_DATA_DIR=/usr/share/openttd \
- -G Ninja \
- -S $pkgname-$pkgver
- ninja -C build
-}
-
-package() {
- DESTDIR="$pkgdir" ninja -C build install
-}
Copied: openttd/repos/community-x86_64/PKGBUILD (from rev 944934, openttd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-24 21:40:30 UTC (rev 944935)
@@ -0,0 +1,34 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgname=openttd
+pkgver=1.11.2
+pkgrel=2
+pkgdesc='Engine for running Transport Tycoon Deluxe'
+arch=(x86_64)
+url='https://www.openttd.org'
+license=(GPL)
+depends=(fluidsynth fontconfig hicolor-icon-theme libpng)
+makedepends=(cmake ninja)
+optdepends=('openttd-opengfx: free graphics'
+ 'openttd-opensfx: free soundset')
+source=("https://proxy.binaries.openttd.org/openttd-releases/$pkgver/$pkgname-$pkgver-source.tar.xz")
+b2sums=('c71fd98a480566aede29f84afbd100b6d0dfa80311860907a7287d2d5bed74bd492c2b1012cd83f45fe68d60fb0c2378e1384530a84c28bd7fbd907b45110491')
+
+build() {
+ cmake \
+ -B build \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D CMAKE_INSTALL_BINDIR=bin \
+ -D CMAKE_INSTALL_DATADIR=/usr/share \
+ -G Ninja \
+ -S $pkgname-$pkgver
+ ninja -C build
+ cd build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
More information about the arch-commits
mailing list