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

                                                   
            
        

                                                                  
          


                          
                          

             
                   

                
                  
                     
                   
                     
                   
              



                  

                                                                             
                                                                                    
 
         
                                     


                                         
                                 
                                
                                  
                                 

                              




                                     
                                                  
                                   
                                                
 
                                                                
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=midori
pkgver=0.3.3
pkgrel=0
pkgdesc="A lightweight web browser based on Gtk WebKit"
url="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
arch="all"
license="GPL"
depends="
	desktop-file-utils
	hicolor-icon-theme
	"
makedepends="
	gettext-dev
	git
	intltool
	libidn-dev
	libnotify-dev
	librsvg-dev
	libunique-dev
	libxml2-dev
	paxctl
	pkgconfig
	python
	sqlite-dev
	webkit-dev
	"
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-addons \
		--disable-vala \
		--disable-hildon \
		--enable-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="e1262cc7cc0c1773c331ab794480f037  midori-0.3.3.tar.bz2"