blob: 521ecd3ccb7b4a8c07621d883e8ee4e6b5b45e1d (
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
|
# Maintainer: muttleyxd <muttdini[ at ]gmail.com>
pkgname=arma3-linux-launcher-git
pkgver=91.2b9feb3
pkgrel=1
pkgdesc="Advanced launcher for ArmA 3 on Linux"
arch=('i686' 'x86_64')
url="https://github.com/muttleyxd/arma3-unix-launcher"
license=('MIT')
depends=('gtkmm3' 'steam')
makedepends=('cmake' 'git')
provides=('arma3-unix-launcher')
conflicts=('arma3-unix-launcher')
source=("$pkgname::git://github.com/muttleyxd/arma3-unix-launcher.git")
md5sums=('SKIP')
pkgver()
{
cd "$srcdir/$pkgname"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build()
{
cd "$srcdir/$pkgname"
mkdir build
cd build
cmake ..
make
}
package()
{
cd "$srcdir/$pkgname"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd "$srcdir/$pkgname/build"
make DESTDIR="$pkgdir" install
}
|