# $Id:$ # Contributor: (sirocco AT ngs.ru) # Maintainer: (sirocco AT ngs.ru) pkgname=doublecmd-gtk2-alpha-bin _pkgname=doublecmd pkgver=0.9.0.svn.r8032 _pkgver=0.9.0~0+svn8032 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.10 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=('1f5c63d98e3138e18cf717543e83cae7bcfbc9b5e39032df1c53871583900da9') sha256sums_i686=('d9d0031f11cdaef2b0bc1587723ee1e60977cd9fda9b88e648470ef327ddf5d8' '6d0b3c177020b4d09f09608ad5bbd2b542300655f35c9dfc87c0fedae53103b8') sha256sums_x86_64=('0c910a4252124d6806cefb2e395bf63c0ef4ff607926fa3266f96210290c9f91' 'cb3268e282aa933e706d615faf1691640aacd2dbd694c34939a83ab50bc61b25') 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 }