blob: 1dac6c0e81f940f1ad95ea038ffbb602530f3acd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Alexander Schnaidt <alex.schnaidt@gmail.com>
# Contributor: blackleg <blackleg@openmailbox.org>
pkgname=xplane-sdk-devel
pkgver=4.1.1
pkgrel=1
pkgdesc="X-Plane SDK"
url="https://developer.x-plane.com/sdk/"
arch=("any")
license=(LicenseRef-xplane-sdk)
depends=(glibc)
source=("https://developer.x-plane.com/wp-content/plugins/code-sample-generation/sdk_zip_files/XPSDK${pkgver//./}.zip")
sha256sums=('1be812ee7ed32c9b317e49d1dc90c00e083910f1e7357f8304752c96f615f048')
package() {
cd "$srcdir/SDK/CHeaders"
install -d -m755 "$pkgdir"/usr/include/xplane_sdk/{Widgets,Wrappers,XPLM}
install -d -m755 "$pkgdir"/usr/share/licenses/${pkgname}
install -D -m644 ./Widgets/* "$pkgdir"/usr/include/xplane_sdk/Widgets
install -D -m644 ./Wrappers/* "$pkgdir"/usr/include/xplane_sdk/Wrappers
install -D -m644 ./XPLM/* "$pkgdir"/usr/include/xplane_sdk/XPLM
install -m644 "$srcdir"/SDK/license.txt "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
}
|