#Maintainer: Dimitris Tzemos < djemos~at~slackel~dot~gr> #Former Maintainer: Christian Dersch pkgname=wine-gecko pkgver=1.4 pkgrel=1dj arch=${arch:-"i686"} if [[ $arch == i686 ]]; then source=(http://sourceforge.net/projects/wine/files/Wine%20Gecko/$pkgver/$pkgname-$pkgver-x86.msi "LEGAL" "LICENSE" "README.txt") else source=(http://sourceforge.net/projects/wine/files/Wine%20Gecko/$pkgver/$pkgname-$pkgver-x86_64.msi "LEGAL" "LICENSE" "README.txt") fi url=http://wiki.winehq.org/Gecko http://downloads.sourceforge.net/project/wine/Wine%20Gecko/ 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 $SRC _geckodir="$PKG/usr/share/wine/gecko" mkdir -p $_geckodir if [[ $arch == i686 ]]; then install -Dm644 $pkgname-$pkgver-x86.msi "$_geckodir/$pkgname-$pkgver-x86.msi" fi if [[ $arch == x86_64 ]]; then install -m644 $pkgname-$pkgver-x86_64.msi "$_geckodir/" fi # Installing the license and readme files mkdir -p $PKG/usr/doc/$pkgname-$pkgver cp -a LEGAL $PKG/usr/doc/$pkgname-$pkgver cp -a LICENSE $PKG/usr/doc/$pkgname-$pkgver cp -a README.txt $PKG/usr/doc/$pkgname-$pkgver }