summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6136de823c8c96a45fb16897e7e3031590d28195 (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: Michael DeGuzis  <mdeguzis@gmail.com>

pkgname=ssgl-doom-launcher-git 
pkgver=v1.1.1.r1.gfb54314 
pkgrel=2
pkgdesc="Doom Frontend with Oblige mapbuild integration for zdoom, gzDoom, Zandronum, Doom64EX and DoomRPG written in AngularMaterial on NWJS for Windows, Linux and OSX." 
arch=('x86_64' 'i686') 
url="https://github.com/FreaKzero/ssgl-doom-launcher" 
license=('GPL2')
makedepends=('bower' 'git' 'grunt-cli')
source=('ssgl-doom-launcher-git::git+https://github.com/FreaKzero/ssgl-doom-launcher.git')
md5sums=('SKIP')

pkgver() {

  cd "$pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'

}

build() {

  cd "$pkgname"
  bower install
  grunt build-linux

}

package() {

  mkdir -p $pkgdir/usr/bin
  mkdir -p $pkgdir/usr/share/applications

  cd "$srcdir/$pkgname"
  install -m755 "build/SSGL/linux64/SSGL" "$pkgdir/usr/bin/ssgl"

}