blob: 028424ef737128800c0a22d1718332782ee252ef (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#Maintainer: Evert Vorster <evorster@gmail.com>
pkgname=privateer_wcu-git
_pkgname=privateer_wcu-git
pkgver=rev.103
pkgrel=1
pkgdesc="VegaStrike-based Privateer: Wing Commander Universe mod. Uses Privateer: Parallel Universe as its base"
arch=('any')
url="https://github.com/pwcu/privateer_wcu"
license=('GPL')
depends=('expat' 'vegastrike-engine')
optdepends=('')
makedepends=('git' 'cmake')
provides=('privateer')
conflicts=('privateer')
#install=$pkgname.install
#options=(!makeflags debug !strip)
source=('git+https://github.com/pwcu/privateer_wcu.git')
sha1sums=('SKIP')
pkgver() {
cd "${srcdir}"/privateer_wcu
echo "rev.$(git rev-list --count HEAD)"
}
prepare(){
#Only needed until it becomes part of the source
cd ..
chmod a+x {priv,privsettings}
}
build(){
echo "Build not necessary"
}
package() {
mkdir -p "${pkgdir}"/usr/share/privateer_wcu
cp -va "${srcdir}"/privateer_wcu/ "${pkgdir}"/usr/share/
mkdir -p "${pkgdir}"/usr/bin
cd ..
cp -va {priv,privsettings} "${pkgdir}"/usr/bin
chmod a-x {priv,privsettings}
}
|