blob: bb8a146429fbbe2b91cbccb03a5f24b5f43b216a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# $Id:$
# Contributor: (sirocco AT ngs.ru)
# Maintainer: (sirocco AT ngs.ru)
pkgname=doublecmd-gtk2-alpha-bin
_pkgname=doublecmd
pkgver=0.7.0.svn.r6686
_pkgver=0.7.0~0+svn6686
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_15.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=('cc108900b5befd302bde26dbdcf46cada66795215f3fadae67e4328469e20e4a')
sha256sums_i686=('71f8c1aaeaf6679ac69d62ed50c79fb98a92d0aea84010d61e88f533726134d2'
'd8a11480c0cea2299bc2f7ad3bfcdd405b116387796f7aa0e7676af7b8df1c8f')
sha256sums_x86_64=('f641aab49b1d799236904f82b3532b1c28681454e8a3282e57465d87878c7d23'
'd2cdd26a06620e51dc898fba7a8bea98a9be88cce9c1b0885434be2d1fa0369b')
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
}
|