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

pkgname=luakit
pkgver=2011.07.22
pkgrel=3
pkgdesc='Highly configurable, micro-browser framework based on the WebKit web content engine and the GTK+ toolkit. "Stable" release.'
arch=('i686' 'x86_64')
url='http://www.luakit.org/projects/luakit'
license=('GPL3')
depends=('libwebkit' 'luafilesystem' 'libunique' 'desktop-file-utils')
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}-r1")
md5sums=('4937deb6bc81416e2deb037f4a5763e4')

build() {
  cd mason-larobina-luakit-*

  # Add missing library to PKGS in config.mk
  sed -i 's|PKGS := .*|& javascriptcoregtk-1.0|' config.mk

  make PREFIX=/usr DESTDIR=${pkgdir} all
}

package() {
  cd mason-larobina-luakit-*

  make PREFIX=/usr DESTDIR=${pkgdir} install 
}