vabs / var / vabs / 7kaa-data / src / PKGBUILD

# Contributor: xnitropl <xnitropl at gmail dot com>
# Contributor: Anton Larionov <diffident dot cat at gmail dot com>


NAME=7kaa-data
VERSION=2.13
pkgrel=3
pkgdesc="Free data set for Seven Kingdoms: Ancient Adversaries"
url='http://7kfans.com/'
arch=('any')
license=('GPL2')
source=("http://downloads.sourceforge.net/project/skfans/Seven%20Kingdoms%20AA%20Data%20Files/$NAME-$VERSION.tar.bz2")
md5sums=('d7580a683fabcea98b5898dff252dcf2')


package() {
  # install data files
  install -dm755 "${PKG}/opt/7kaa/"
  cd "${TMP}/${NAME}-${VERSION}/7kaa/"
  cp -r {encyc,encyc2,image,resource,scenari2,scenario,sound,sprite,tutorial} "${PKG}/opt/7kaa/"

  # fix permissions
  cd "${PKG}/opt/7kaa/"
  find . -type d -exec chmod 755 {} \;

  # copy readme
  install -D -m644 "${TMP}/${NAME}-${VERSION}/7kaa/README-GameData" "${PKG}/usr/share/doc/7kaa/README-GameData"
}

# vim:set ts=2 sw=2 et:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.