summaryrefslogtreecommitdiff
path: root/community/premake/PKGBUILD
blob: a239b435dbc1b610d0cfda317a4bcd741ef0bef6 (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
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: revel <revelΘmuub·net>
# Contributor: Marcos J. S. Magalhaes <mjsmagalhaes ^dot^ insc _at_ gmail ~dot~ com>

pkgname=premake
pkgver=4.3
pkgrel=1
pkgdesc="A simple build configuration and project generation tool using lua"
arch=('i686' 'x86_64')
url="http://industriousone.com/premake"
license=('BSD')
provides=("premake4")
source=(http://downloads.sourceforge.net/project/premake/Premake/$pkgver/premake-$pkgver-src.zip)
md5sums=('8cfafee76f9665c93b2e9ad15b015eb7')

build() {
  cd $srcdir/premake-$pkgver/build/gmake.unix

  make
}

package() {
  install -dm755 ${pkgdir}/usr/bin
  install -m755 $srcdir/premake-$pkgver/bin/release/premake4 ${pkgdir}/usr/bin
}