You are not logged in.
Hello, midori has got a git repo, could someone make a pkgbuild for it?
http://software.twotoasts.de/?page=midori
Last edited by Roberth (2007-12-17 19:00:38)
Use the Source, Luke!
Offline
Quick and Dirty, but works for me. Remember to use the latest SVN version of WebKit.
# Contributor: rabyte <rabyte.at.pen.dot.tj>
# Contributor: Johannes Krampf <wuischke.at.amule.dot.org>
pkgname=midori
pkgver=20071222
pkgrel=2
pkgdesc="A lightweight web browser based on Gtk WebKit"
arch=('i686' 'x86_64')
url="http://software.twotoasts.de/?page=midori"
license=('LGPL2')
depends=('libsexy' 'webkitgtk-svn>=28300')
makedepends=('pkgconfig>=0.9' 'libxml2')
source=()
md5sums=()
_gitroot="http://software.twotoasts.de/media/midori.git"
_gitname="midori"
build() {
cd $startdir/src
msg "Connecting to server...."
if [ -d $startdir/src/$_gitname ] ; then
cd $_gitname && git-pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
cd $startdir/src/$_gitname-build
./autogen.sh
./configure --prefix=/usr --enable-debug=yes
make || return 1
make DESTDIR=$startdir/pkg install
}hightower
Offline
git URL changed, it's now git://git.xfce.org/apps/midori the PKGBUILD is now
# Maintainer: Arkham <arkham at archlinux dot us>
# Contributor: hybraries <macwolf@archlinux.de>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Navi <navitwo.at.gmail.dot.com>
# Contributor: rabyte <rabyte.at.gmail.dot.com>
# Contributor: Johannes Krampf <wuischke.at.amule.dot.org>
pkgname=midori-git
pkgver=20090725
pkgrel=1
pkgdesc="A lightweight web browser based on WebKit. GIT Development Version."
arch=('i686' 'x86_64')
url="http://software.twotoasts.de/?page=midori"
license=('LGPL2')
depends=('webkitgtk-svn')
makedepends=('pkgconfig>=0.9' 'git' 'python' 'libxml2' 'gtk2' 'intltool' 'docutils' 'libsoup')
provides=('midori')
conflicts=('midori')
install=midori.install
source=()
md5sums=()
_gitroot="git://git.xfce.org/apps/midori"
_gitname="midori"
build() {
cd "$srcdir"
msg "Connecting to the midori git repository..."
if [ -d "$srcdir/$_gitname" ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
cd $srcdir
rm -rf $_gitname-build
#cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
git clone $_gitname $_gitname-build
cd $_gitname-build
./waf configure --prefix=/usr || return 1
./waf build || return 1
DESTDIR="$pkgdir" ./waf install || return 1
}i have to inform Arkham
Offline
Offline