Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3e44bb6fc2561554f3c7233eb0317503f8828cf8
commit 3e44bb6fc2561554f3c7233eb0317503f8828cf8 Author: kikadf <[email protected]> Date: Tue Jan 28 17:58:10 2014 +0100 maxthon-browser-0.9.1.0-1-x86_64 * New package (nobuild) diff --git a/source/xapps-extra/maxthon-browser/FrugalBuild b/source/xapps-extra/maxthon-browser/FrugalBuild new file mode 100644 index 0000000..1f20f83 --- /dev/null +++ b/source/xapps-extra/maxthon-browser/FrugalBuild @@ -0,0 +1,41 @@ +# Compiling Time: 0 SBU +# Maintainer: kikadf <[email protected]> + +pkgname=maxthon-browser +pkgver=0.9.1.0 +pkgrel=1 +pkgdesc="A browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier." +url="http://www.maxthon.cn/" +rodepends=('gtk+2-libs' 'gdk-pixbuf2' 'libxscrnsaver' 'gconf' 'alsa-lib' 'libcups' \ + 'nss' 'systemd' 'dbus' 'libgcrypt' 'libx11' 'nspr' 'libxrandr' \ + 'libxrender' 'libxext' 'atk' 'pango' 'cairo' 'freetype2' 'fontconfig' \ + 'libxcomposite' 'libxdamage' 'libxfixes') +groups=('xapps-extra') +archs=('i686' 'x86_64') +up2date="lynx -dump -width=180 http://forum.maxthon.com/forum-37-1.html | sed -n 's/.*for Linux V\(.*\) [A-Z].* Released.*/\1/p' | head -1" +if [ "$CARCH" == "i686" ]; then + _arch="i386" + sha1sums=('87e35e6605ddf2c3a9f112eb42f25f09fa14d45f') +elif [ "$CARCH" == "x86_64" ]; then + _arch="x86_64" + sha1sums=('b71fa94f9d2ef9c6573b621eb22904c56ce19ff1') +fi +source=(http://dl.maxthon.com/linux/tars/$pkgname-beta-$pkgver-$_arch.tgz) +options=('nobuild') +_F_cd_path="maxthon" + +build() +{ + Fsed "opt" "usr/share" maxthon-browser + Fmkdir /usr/share + Fcp maxthon /usr/share/ + Ffile maxthon/maxthon.desktop /usr/share/applications/maxthon.desktop + Ffile maxthon/product_logo_48.png /usr/share/pixmaps/maxthon-browser.png + Fln /usr/share/maxthon/maxthon-browser /usr/bin/maxthon + Ffile maxthon/Default_en/pn /etc/default/maxthon.d/pn + chown root:root "$Fdestdir"/usr/share/maxthon/maxthon_sandbox || Fdie + chmod 4755 "$Fdestdir"/usr/share/maxthon/maxthon_sandbox || Fdie + Fln /usr/lib/libudev.so.1 /usr/share/maxthon/libudev.so.0 + Frm /usr/share/maxthon/maxthon.desktop +} + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
