# $Id:$ # Contributor: (sirocco AT ngs.ru) # Maintainer: (sirocco AT ngs.ru) pkgname=doublecmd-gtk2-alpha-bin _pkgname=doublecmd pkgver=0.8.0.svn.r7652 _pkgver=0.8.0~0+svn7652-0 pkgrel=1 pkgdesc="A file manager with two panels side by side" arch=('i686' 'x86_64') url='https://doublecmd.sourceforge.io' # 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') 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_17.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=('b3ea69dcfe4ba66cdcf3b97e6652af5663b05a25fdade4983d0d252348254249') sha256sums_i686=('edfc0e396aa51e80200c160654a5c6bbba677bd9b17c511b1d240cda673db0e4' '44c7428f52e4e0b29754d814ed9663cf0353f332c27b21ce4f3171e6856ed2aa') sha256sums_x86_64=('6c7e3b3effc31322f0ddb7ab293f33d3716e69b523d689ee27c1b701790c72a6' '89fc61dcd9ae904dc23174c735496002eea1cd3ce5b6375e57edc02b38248124') noextract=( ${_pkgname}-gtk_${_pkgver}_${_bldarch}.deb ${_pkgname}-plugins_${_pkgver}_${_bldarch}.deb ${_pkgname}-common_${_pkgver}_all.deb ) 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 }