Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AUR pkgbuilds for luakit
# Maintainer: J. W. Birdsong <jwbirdsong AT gmail DOT com>
pkgname=luakit
pkgver=2011.05.06
pkgrel=1
pkgdesc="luakit is a fast, small, webkit-gtk based browser extensible by Lua. Stable release."
arch=('i686' 'x86_64')
url="http://www.luakit.org/projects/luakit"
license=('GPL3')
depends=('libwebkit' 'luafilesystem')
makedepends=('git' 'help2man')
options=(makeflags)
source=($pkgname.install)
provides=(luakit)
conflicts=('luakit-git' 'luakit-develop-git')
install=$pkgname.install
source=("https://github.com/mason-larobina/luakit/tarball/${pkgver}" ${pkgname}.install)
md5sums=('eaf96d02aaecc1d8ba4f62f38565497f'
'7079d8951fd68f7dd68dae71a7bf604e')
build() {
cd $srcdir
rm -rf $pkgname
mv mason-larobina-luakit-* $pkgname
cd $pkgname
makeopts="PREFIX=/usr DESTDIR=\"$pkgdir\" DEVELOPMENT_PATHS=0"
make $makeopts all
make $makeopts install
install -Dm644 COPYING.GPLv3 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.GPL"
}
# vim:set ts=2 sw=2 et:
# Maintainer: J. W. Birdsong <jwbirdsong AT gmail DOT com>
pkgname=luakit-develop-git
pkgver=develop
pkgrel=1
pkgdesc="luakit is a fast, small, webkit-gtk based browser extensible by Lua. Meta-package pointing to the latest development branch head."
arch=('i686' 'x86_64')
url="http://www.luakit.org/projects/luakit"
license=('GPL3')
depends=('libwebkit' 'luafilesystem')
makedepends=('git' 'help2man')
options=(makeflags)
source=($pkgname.install)
provides=(luakit)
conflicts=('luakit' 'luakit-git')
install=$pkgname.install
_gitroot="git://github.com/mason-larobina/luakit.git"
_gitname="develop"
md5sums=('b57e0f9a212c385617a3eab158b6363a')
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
builddir="$srcdir/$_gitname-build"
rm -rf "$builddir"
git clone "$srcdir/$_gitname" "$builddir"
cd "$builddir"
makeopts="PREFIX=/usr DESTDIR=\"$pkgdir\" DEVELOPMENT_PATHS=0"
make $makeopts all
make $makeopts install
install -Dm644 COPYING.GPLv3 "$pkgdir/usr/share/licenses/$pkgname/LICENSE.GPL"
}
# vim:set ts=2 sw=2 et:
# Maintainer: J. W. Birdsong <jwbirdsong AT gmail DOT com>
pkgname=luakit-git
pkgver=stable
pkgrel=1
pkgdesc="luakit is a fast, small, webkit-gtk based browser extensible by Lua. Meta-package pointing to the latest stable luakit release."
arch=('i686' 'x86_64')
url="http://www.luakit.org/projects/luakit"
license=('GPL3')
depends=('libwebkit' 'luafilesystem')
makedepends=('git' 'help2man')
options=(makeflags)
source=($pkgname.install)
provides=(luakit)
conflicts=('luakit' 'luakit-git')
install=$pkgname.install
_gitroot="git://github.com/mason-larobina/luakit.git"
_gitname="master"
md5sums=('b57e0f9a212c385617a3eab158b6363a')
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
builddir="$srcdir/$_gitname-build"
rm -rf "$builddir"
git clone "$srcdir/$_gitname" "$builddir"
cd "$builddir"
makeopts="PREFIX=/usr DESTDIR=\"$pkgdir\" DEVELOPMENT_PATHS=0"
make $makeopts all
make $makeopts install
install -Dm644 COPYING.GPLv3 "$pkgdir/usr/share/licenses/$pkgname/LICENSE.GPL"
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.