#Maintainer: Christian Dersch <chrisdersch~at~googlemail~dot~com>

pkgname=wine-gecko
pkgver=1.0.0
pkgrel=1cd
arch=i486
source=("http://downloads.sourceforge.net/wine/wine_gecko-$pkgver-x86.cab"
		"LEGAL" "LICENSE" "README.txt")
url=http://wiki.winehq.org/Gecko

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"wine-gecko (browser implementation for wine)"
"wine-gecko is Wine's own implementation of "Internet Explorer" based"
"on Mozilla's Gecko Layout Engine. Whenever an application tries to"
"display an HTML file or a web page, Wine will load Wine Gecko."
"It is very useful for many applications you use wih Wine, so it is"
"recommended to install it."
""
"http://wiki.winehq.org/Gecko"
)

build() {
	cd $startdir/src/
	mkdir -p $startdir/pkg/usr/share/wine/gecko
	cp -a wine_gecko-$pkgver-x86.cab $startdir/pkg/usr/share/wine/gecko/

	# Installing the license and readme files
	mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver
	cp -a LEGAL $startdir/pkg/usr/doc/$pkgname-$pkgver
	cp -a LICENSE $startdir/pkg/usr/doc/$pkgname-$pkgver
	cp -a README.txt $startdir/pkg/usr/doc/$pkgname-$pkgver
}