summaryrefslogtreecommitdiff
path: root/community-staging/luakit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-26 23:14:55 +0000
committerroot <root@rshg054.dnsready.net>2012-01-26 23:14:55 +0000
commit3741146d50cb93e8985f8aac937e36d35ee76446 (patch)
tree98628c2ca15482ec0c66a81db48b4ddd777e1136 /community-staging/luakit
parenta61c6fb05ec1cbc6845b2ed4077ce0c5950c36ed (diff)
Thu Jan 26 23:14:55 UTC 2012
Diffstat (limited to 'community-staging/luakit')
-rw-r--r--community-staging/luakit/PKGBUILD32
-rw-r--r--community-staging/luakit/luakit.install14
2 files changed, 46 insertions, 0 deletions
diff --git a/community-staging/luakit/PKGBUILD b/community-staging/luakit/PKGBUILD
new file mode 100644
index 000000000..e92f5a99f
--- /dev/null
+++ b/community-staging/luakit/PKGBUILD
@@ -0,0 +1,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
+}
diff --git a/community-staging/luakit/luakit.install b/community-staging/luakit/luakit.install
new file mode 100644
index 000000000..2c37d0597
--- /dev/null
+++ b/community-staging/luakit/luakit.install
@@ -0,0 +1,14 @@
+post_install() {
+ echo 'Configs are located in /etc/xdg/luakit/*.lua'
+ echo 'Copy to ~/.config/luakit/ (this folder is created on 1st start of Luakit) for local config.'
+ echo 'Or edit in place for global changes.'
+ echo 'You NEED to replace local configs after each update'
+}
+
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ post_upgrade
+}