aboutsummaryrefslogblamecommitdiffstats
path: root/main/midori/APKBUILD
blob: ad0760285e499b6fae108a844744354f95b8b086 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
            
        




                                                                  
                          

             





                   
                     

                   
                  
              

                                                                             
                                                                                    
 
         
                                     








                                         




                                     
                                                  
                                   
                                                
 
                                                                
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=midori
pkgver=0.2.4
pkgrel=0
pkgdesc="A lightweight web browser based on Gtk WebKit"
url="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
license="GPL"
depends="
	desktop-file-utils
	hicolor-icon-theme
	"
makedepends="
	git
	intltool
	pkgconfig
	python
	gettext-dev
	libidn-dev
	libnotify-dev
	libxml2-dev
	webkit-dev
	sqlite-dev
	paxctl
	"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
source="http://archive.xfce.org/src/apps/midori/${pkgver%.*}/midori-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--jobs=${MAKEFLAGS/-j/} \
		--enable-libidn \
		--enable-sqlite \
		--enable-addons \
		--disable-hildon \
		--disable-unique \
		--enable-nls \
		|| return 1
	make
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	# PAX does not like the JIT
	paxctl -c -m -p "$pkgdir"/usr/bin/midori
}
md5sums="ccd2ae162993c2c92c9e0eac7778c62d  midori-0.2.4.tar.bz2"