You are not logged in.

#1 2007-12-17 18:47:18

Roberth
Member
From: Norway
Registered: 2007-01-12
Posts: 873

[Request]Midori-git

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

#2 2007-12-22 17:41:12

hightower
Member
Registered: 2006-04-02
Posts: 182

Re: [Request]Midori-git

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

#3 2009-08-19 01:21:13

jpablo
Arch Linux f@h Team Member
Registered: 2007-07-19
Posts: 22

Re: [Request]Midori-git

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

#4 2009-08-20 04:14:18

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,438
Website

Re: [Request]Midori-git

According to the comments, the remark happened.

Offline

Board footer

Powered by FluxBB