diff options
author | muttley | 2016-11-07 20:21:56 +0100 |
---|---|---|
committer | muttley | 2016-11-07 20:21:56 +0100 |
commit | e6d6bb811a5f5cc46d9a9277a4e9f2fbd6255244 (patch) | |
tree | e8135c1a6b4a1e9762fd72d5bff577c95659ad65 | |
download | aur-e6d6bb811a5f5cc46d9a9277a4e9f2fbd6255244.tar.gz |
Initial release
-rw-r--r-- | .SRCINFO | 19 | ||||
-rwxr-xr-x | PKGBUILD | 37 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..603878079608 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = arma3-linux-launcher-git + pkgdesc = Advanced launcher for ArmA 3 Linux version + pkgver = 18.f859031 + pkgrel = 1 + url = https://github.com/muttleyxd/arma3-linux-launcher + arch = i686 + arch = x86_64 + license = MIT + makedepends = cmake + makedepends = git + depends = gtkmm3 + depends = steam + provides = arma3-linux-launcher + conflicts = arma3-linux-launcher + source = arma3-linux-launcher-git::git://github.com/muttleyxd/arma3-linux-launcher.git + md5sums = SKIP + +pkgname = arma3-linux-launcher-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..1b01c33ff10a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: muttleyxd <muttdini[ at ]gmail.com> +pkgname=arma3-linux-launcher-git +pkgver=18.f859031 +pkgrel=1 +pkgdesc="Advanced launcher for ArmA 3 Linux version" +arch=('i686' 'x86_64') +url="https://github.com/muttleyxd/arma3-linux-launcher" +license=('MIT') +depends=('gtkmm3' 'steam') +makedepends=('cmake' 'git') +provides=('arma3-linux-launcher') +conflicts=('arma3-linux-launcher') +source=("$pkgname::git://github.com/muttleyxd/arma3-linux-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 +} |