# $Id:$ # Contributor: (sirocco AT ngs.ru) # Maintainer: (sirocco AT ngs.ru) pkgname=doublecmd-gtk2-alpha-bin _pkgname=doublecmd pkgver=0.8.0.svn.r7317 _pkgver=0.8.0~0+svn7317 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') 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.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=('46fda6ee6c6e36a9c4716db86436aef6498404c76a7279a5611c45b37446b347') sha256sums_i686=('33a7c232f18003132994ae9d44a849cf9013e02fc7f3c63597db4a506fbed721' '44731de059f20e954f4abe192d016c936ddeacb2bf07ed254bf2b9f8733b5bb3') sha256sums_x86_64=('2c02affcef2145484e42f7b6429785b1dc50c8ba75e8957cd5fb4333ad54c95b' '761c3ca266b1f3e5d9ca161a9056755d12ac5b3dd9e8d1c7681a2fb711216a96') 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 }