# $Id:$ # Contributor: (sirocco AT ngs.ru) # Maintainer: (sirocco AT ngs.ru) pkgname=doublecmd-gtk2-alpha-bin _pkgname=doublecmd pkgver=0.8.0.svn.r7085 _pkgver=0.8.0~0+svn7085 pkgrel=1 pkgdesc="Double Commander is a cross platform open source file manager with two panels side by side. It is inspired by Total Commander and features some new ideas." arch=('i686' 'x86_64') url='http://doublecmd.sourceforge.net' # https://launchpad.net/~alexx2000/+archive/doublecmd-svn depends=('gtk2') optdepends=('lua51: scripting' 'p7zip: support for 7zip archives' 'libunrar: support for rar archives' 'pmount: mount removable devices' 'imagemagick: speed up thumbnail view' 'ffmpegthumbnailer: video thumbnails') install="doublecmd.install" provides=('doublecmd') replaces=('doublecmd-gtk2-bin-nightly') conflicts=('doublecmd-gtk2' 'doublecmd-qt-svn' 'doublecmd-qt' 'doublecmd-gtk2-svn' 'doublecmd-gtk2-bin-nightly') license=('GPL2') options=('!strip') _bldarch=amd64 [[ $CARCH = i686 ]] && _bldarch=i386 _url=http://download.opensuse.org/repositories/home:/Alexx2000:/doublecmd-svn/xUbuntu_16.04 source=(${_url}/all/${_pkgname}-common_${_pkgver}_all.deb) source_i686+=(${_url}/i386/${_pkgname}-gtk_${_pkgver}_i386.deb ${_url}/i386/${_pkgname}-plugins_${_pkgver}_i386.deb) source_x86_64+=(${_url}/amd64/${_pkgname}-gtk_${_pkgver}_amd64.deb ${_url}/amd64/${_pkgname}-plugins_${_pkgver}_amd64.deb) sha256sums=('fd017a5b5a8f2cc7e709eb1a0d4711721ce46dd23d15b230c2c743ca23a28e58') sha256sums_i686=('5c59b4d91d12fdf1c3ed14b19f2249af352ce13b3b0e3af310b4dfa3bd3deea0' '32b363c6ca02b542934071bb39158c93bff1714f6ea15320b8a128d7d8bc4e03') sha256sums_x86_64=('c8a44ef6b9d570078789218fd60221b0f692242cf6625d5d3a4701021aaff873' '8cb6c65177ebefa270543a149676d2369ae71efab36e361e22f0db14d0a50344') package() { msg2 "Extracting files..." cd "$srcdir" ar x ${_pkgname}-gtk_${_pkgver}_${_bldarch}.deb tar xf data.tar.xz --exclude lintian -C $pkgdir rm -f data.tar.xz ar x ${_pkgname}-plugins_${_pkgver}_${_bldarch}.deb tar xf data.tar.xz --exclude lintian -C $pkgdir rm -f data.tar.xz ar x ${_pkgname}-common_${_pkgver}_all.deb tar xf data.tar.xz --exclude lintian -C $pkgdir rm -f data.tar.xz }