aboutsummaryrefslogtreecommitdiffstats
path: root/testing/simgear/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-05-30 14:59:19 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-05-30 14:59:19 +0000
commit4f306d8c0b5c005eebc5b18010f152ecb79be322 (patch)
treea632e2dd723b70974c3efa9fe441ccf89b740990 /testing/simgear/APKBUILD
parentcaa4e60bc480bd8609ce08ef4ea1c93298d38bd9 (diff)
downloadaports-4f306d8c0b5c005eebc5b18010f152ecb79be322.tar.bz2
aports-4f306d8c0b5c005eebc5b18010f152ecb79be322.tar.xz
testing/simgear: upgrade to 2017.4.0
Diffstat (limited to 'testing/simgear/APKBUILD')
-rw-r--r--testing/simgear/APKBUILD19
1 files changed, 7 insertions, 12 deletions
diff --git a/testing/simgear/APKBUILD b/testing/simgear/APKBUILD
index 04ae6bafe9..c725a0ee9f 100644
--- a/testing/simgear/APKBUILD
+++ b/testing/simgear/APKBUILD
@@ -1,44 +1,39 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=simgear
-pkgver=2017.3.1
+pkgver=2017.4.0
pkgrel=0
pkgdesc="Sim library for FlightGear"
url="https://github.com/FlightGear/simgear"
arch="all"
license="GPL"
-depends=
-depends_dev=
makedepends="$depends_dev boost-dev cmake curl-dev mesa-dev openal-soft-dev
openscenegraph-dev zlib-dev"
-install=
subpackages=
source="$pkgname-$pkgver.tar.gz::https://github.com/FlightGear/simgear/archive/version/$pkgver.tar.gz
musl-fixes.patch
"
-
builddir="$srcdir"/$pkgname-version-$pkgver
prepare() {
cd "$builddir"
- default_prepare || return 1
- mkdir sgbuild && cd sgbuild || return 1
+ default_prepare
+ mkdir sgbuild && cd sgbuild
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
- -D_POSIX_C_SOURCE=200112L \
- || return 1
+ -D_POSIX_C_SOURCE=200112L
}
build() {
cd "$builddir/sgbuild"
- make || return 1
+ make
}
package() {
cd "$builddir/sgbuild"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-sha512sums="bb05a200d5fdd173a5f7c8ca1a2279c8766f93de6823ea34af31a9a105a9e46d526b37c5a2231a2e9cd9759ffd1354a89ff1f731b3b9974c749d7fe4f1cd51bf simgear-2017.3.1.tar.gz
+sha512sums="2c4940d50ebfa5644e6220e9aa0165cc23f52ba15f5f706e47754212a11ad74401e113e7e7ab61b76e3d5e7beee1f5112f259dd5518c9bee099bbcafbabb92ec simgear-2017.4.0.tar.gz
7efcf01c9328b0732ae9aa7af4edb52e14919663a8d3acbe429a0697f59a55e85a71628d9afaa3d38327d960dbf5dacc1f964e38dd6cb499b593ae2be918b140 musl-fixes.patch"