# $Id:$ # Contributor: (sirocco AT ngs.ru) # Maintainer: (sirocco AT ngs.ru) pkgname=doublecmd-gtk2-alpha-bin _pkgname=doublecmd pkgver=1.0.0.svn.r9217 _pkgver=1.0.0~0+svn9217 pkgrel=1 pkgdesc="A file manager with two panels side by side" arch=('x86_64') url='https://doublecmd.sourceforge.io' # https://launchpad.net/~alexx2000/+archive/doublecmd-svn depends=('gtk2') optdepends=('lua: 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-qt5-svn' 'doublecmd-qt5' '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_19.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=('5dce3065d4d8fa18529396d59869154e409de595ca0bdf8e13262e3083b34f10') sha256sums_x86_64=('998e5306f95c84fcc2c6b77b06566026a1bba8ca621fe847b3177c833f26717d' 'eedee990d701e4791df64c86a9537e78aafb2fa13e7a5b101a3d4b5662935355') #sha256sums_i686=('8c37694b5c0623511104d8dc584fb9a904b4368919cd6a2ac5b5cdbef4266f0e' # 'd7379824666e9152cd99b02bc626cf6815af096aad2e6e5bf1d99e7c523ccb9c') 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 }