#Packager: Maximus (maximuus[at]gmail[dot]com) pkgname=FlightGear-data pkgver=2.0.0 pkgrel=1mb arch=noarch source=(http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Shared/$pkgname-$pkgver.tar.bz2) sourcetemplate=http://people.salixos.org/maximus/$pkgname/$pkgver/ docs=("readme" "copying" "changelog" "authors" "news" "thanks") url=http://www.flightgear.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "FlightGear-data (data files for FlightGear)" "FlightGear-data includes the base data files necessary for FlightGear," "such as scenery and aircraft models." ) build() { mkdir -p $startdir/pkg/usr/share/FlightGear mv $startdir/src/data/* $startdir/pkg/usr/share/FlightGear #fix permissions chown -hR root:root $startdir/pkg cd $startdir/pkg/usr/share/FlightGear find . -type f -perm 755 -exec chmod 644 {} \; }