updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / doublecmd-gtk-ppa / PKGBUILD
blob10d4c6842a2eb8730dc125c7dc7c527c0a0fb678
1 # $Id:$
2 # Contributor: (sirocco AT ngs.ru)
3 # Maintainer: (sirocco AT ngs.ru)
5 pkgname=doublecmd-gtk-ppa
6 _pkgname=${pkgname%-ppa}
7 pkgver=0.5.3.1
8 _pkgver=4263
9 pkgrel=1
10 _pkgsuf=M~oneiric
11 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."
12 arch=('i686' 'x86_64')
13 url='http://doublecmd.sourceforge.net'
14 # https://launchpad.net/~alexx2000/+archive/doublecmd
15 depends=('gtk2')
16 optdepends=('lua: scripting' 'p7zip: support for 7zip archives' 'libunrar: support for rar archives')
17 provides=('doublecmd' 'doublecmd-ppa')
18 conflicts=('doublecmd-svn')
19 replaces=('doublecmd' 'doublecmd-svn')
20 license=('GPL2')
21 options=('!strip')
23 case ${CARCH} in
24   i686)
25     _bldarch='i386'
26     md5sums=('0b2a25f7503a5043916446149cdab3f6')
27     ;;
28   x86_64)
29     _bldarch='amd64'
30     md5sums=('fcb99d4b3878e93dc886cbf40fc2bbd4')
31     ;;
32 esac
34 _url=https://launchpad.net/~alexx2000/+archive/doublecmd/+files
35 source=(${_url}/${_pkgname}_${pkgver}-${_pkgver}${_pkgsuf}_${_bldarch}.deb)
37 #https://launchpad.net/~alexx2000/+archive/doublecmd/+build/3022534/+files/doublecmd-gtk_0.5.2-4191M~oneiric_i386.deb
38 build() {
39     msg2 "Extracting files..."
40     cd "$srcdir"
41     ar x ${_pkgname}_${pkgver}-${_pkgver}${_pkgsuf}_${_bldarch}.deb
42     tar xf data.tar.gz --exclude lintian -C $pkgdir