blob: dc7362755a1eb5059f4071e2c84fd6fdba137bbf (
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
27
28
29
30
31
|
# Maintainer: Glen D'souza <gdsouza@linuxmail.org>
# Contributor: jmf <jmf at mesecons dot net>
# Contributor: Pascal Groschwitz <p.groschwitz@googlemail.com>
pkgname=flightgear-data-git
pkgver=2019.2.0r8866.dce80cbf8
_pkgver=2019.2.0
pkgrel=1
pkgdesc="Base data for the flightgear flight simulator."
arch=('x86_64')
url="https://home.flightgear.org"
options=(!strip)
license=('GPL')
provides=('flightgear-data=2019.2.0')
conflicts=('flightgear-data')
replaces=('fgdata-git')
source=("flightgear-data::git+git://git.code.sf.net/p/flightgear/fgdata#branch=next")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname%-git}"
printf "%sr%s.%s" "${_pkgver}" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package(){
cd "${srcdir}"
mkdir -p "${pkgdir}/usr/share/flightgear/"
mv flightgear-data/ "${pkgdir}/usr/share/flightgear/data"
chown root:root "${pkgdir}/usr/share/flightgear/data"
}
|