### this file is sourced not run
PKGVER=2020.3.18
PKGBUILD=1
PKGARCH=noarch

### note: this recipe downloads 1.8GB of data and makes 1.8GB package.

# source: james
TARBALL=FlightGear-$PKGVER-update-data.txz
MD5SUM=74cfb9832617978db801c3e9d9ab2abe
SRC_URL=http://downloads.sourceforge.net/flightgear/$TARBALL
BUNDLE=

SLACKREQ=flightgear-data
SLACKDESC="flightgear-data-update: flightgear-data-update $PKGVER (Additional data for flightgear)
flightgear-data-update: 
flightgear-data-update: This package contains additional or update of the data included in 
flightgear-data-update: the main data file.
flightgear-data-update:
flightgear-data-update: Note: once you install this package, the flightgear-data files are
flightgear-data-update: overwritten. You cannot uninstall this package unless you also
flightgear-data-update: uninstall flightgear-data (and re-install it if you still want to
flightgear-data-update: play.
flightgear-data-update: 
flightgear-data-update: http://www.flightgear.org
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	DATADIR=/opt/games/flightgear-data-$PKGVER
	mkdir -p /opt/games &&
	mv /tmp/fgdata $DATADIR &&
	chown -R 0:0 $DATADIR &&
	pkg_build_slackdesc
}


