summaryrefslogtreecommitdiff
path: root/community/luakit/PKGBUILD
blob: 82744de47b7bb76b43d23c15436dbf3e128e2a82 (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
# Maintainer:  Bartłomiej Piotrowski
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: J. W. Birdsong <jwbirdsong AT gmail DOT com>

pkgname=luakit
pkgver=2012.03.25
pkgrel=2
pkgdesc='Fast, small, webkit based browser framework extensible by Lua'
arch=('i686' 'x86_64')
url='http://www.luakit.org/projects/luakit'
license=('GPL3')
depends=('libwebkit' 'luafilesystem' 'libunique' 'desktop-file-utils' 'luajit')
makedepends=('git' 'help2man')
options=(!makeflags)
conflicts=('luakit-git' 'luakit-develop-git')
install='luakit.install'
source=("${pkgver}.tar.gz::https://github.com/mason-larobina/luakit/tarball/${pkgver}"
        0001-Dont-mark-desktop-file-as-executable.patch)
md5sums=('e25aaeacfa5758127b3f677eafba9aa2'
         'a1caf95b03659cd02a392a376a13edd7')

build() {
  cd mason-larobina-luakit-*
  patch -Np1 -i $srcdir/0001-Dont-mark-desktop-file-as-executable.patch
  make USE_LUAJIT=1 PREFIX=/usr DESTDIR=${pkgdir} all
}

package() {
  cd mason-larobina-luakit-*
  make PREFIX=/usr DESTDIR=${pkgdir} install 
}