mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
46 lines
1.5 KiB
Bash
46 lines
1.5 KiB
Bash
# $Id: PKGBUILD,v 1.3 2008/08/09 00:33:04 BaSh Exp $
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
# Contributor: rabyte <rabyte.at.gmail.dot.com>
|
|
# Contributor: Johannes Krampf <wuischke.at.amule.dot.org>
|
|
|
|
pkgname=midori
|
|
#_gitdate=20090306
|
|
pkgver=0.1.10 #_git${_gitdate}
|
|
pkgrel=1
|
|
pkgdesc="A lightweight web browser based on Gtk WebKit"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
|
|
license=('GPL')
|
|
install=midori.install
|
|
depends=('libwebkit>=1.1.10-2' 'libidn' 'libunique>=1.0.8'
|
|
'hicolor-icon-theme' 'desktop-file-utils')
|
|
makedepends=('pkgconfig' 'libxml2' 'intltool' 'gtk-doc' 'librsvg>=2.26.0' 'python>=2.6.2-5') # 'git'
|
|
optdepends=('libnotify: for finished transfers')
|
|
source=(http://archive.xfce.org/src/apps/$pkgname/0.1/$pkgname-$pkgver.tar.bz2
|
|
#midori-${_gitdate}.tar.bz2
|
|
)
|
|
md5sums=('97b6a3a3ccb8458c68c335b2ee8e9197')
|
|
|
|
build() {
|
|
# get git code
|
|
cd ${srcdir}
|
|
# git clone -v git://git.xfce.org/kalikiana/midori
|
|
# cd midori
|
|
# git archive --prefix=midori-${_gitdate}/ --format=tar HEAD | bzip2 > ../../midori-${_gitdate}.tar.bz2
|
|
# return 1
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
# cd ${srcdir}/${pkgname}-${_gitdate}
|
|
./configure --prefix=/usr --jobs=${MAKEFLAGS/-j/} \
|
|
--enable-libidn \
|
|
--enable-sqlite \
|
|
--enable-addons \
|
|
--disable-hildon \
|
|
--enable-unique \
|
|
--enable-nls \
|
|
--enable-docs \
|
|
--enable-apidocs # - currently broken
|
|
#--enable-userdocs would require docutils from community
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|