summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e189064ee9055c342fcbba0213dd0c435baaceca (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
# Maintainer: Frederic Bezies < fredbezies at gmail dot com >
# Contributor: Cosku Bas <cosku.bas@gmail.com>

pkgname=quetoo-data-git
pkgver=r565.f39e26d
pkgrel=1
pkgdesc="Quetoo is a Free first person shooter for Mac, PC and Linux."
arch=('any')
url="http://quetoo.org"
license=('GPL2')
makedepends=('git')
source=(git://github.com/jdolan/quetoo-data)
sha1sums=('SKIP')

pkgver() {
	cd quetoo-data
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd quetoo-data
	mkdir -p "$pkgdir/usr/share/quetoo"
	cp -r target/default $pkgdir/usr/share/quetoo/default
}