PKGBUILDs/community/tuxcmd/PKGBUILD

41 lines
1.6 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
pkgname=tuxcmd
pkgver=0.6.50
pkgrel=1.1
arch=('i686' 'x86_64')
pkgdesc="A GTK2 file manager with two panels"
url="http://tuxcmd.sourceforge.net/"
license=('GPL')
depends=('gtk2' 'bzip2')
install=$pkgname.install
if [ "${CARCH}" = 'i686' ]; then
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver-bin-i386.tar.bz2 \
http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-modules-$pkgver-bin-i386.tar.bz2 \
$pkgname.desktop $pkgname.install)
md5sums=('44ca7e16de34e372f8fb90e7b751a3d8'
'ba4b3bf55000e0b1deb7cad4d0e870fc'
'ae435e45bf0b49fea0dae98b95ca59c5'
'4d835793d2542e778e2cf2e26aa5e3f3')
elif [ "${CARCH}" = 'x86_64' ]; then
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver-bin-${CARCH}.tar.bz2 \
http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-modules-$pkgver-bin-${CARCH}.tar.bz2 \
$pkgname.desktop $pkgname.install)
md5sums=('cafa8be6f1e6f68221c47a07f6e2092a'
'752ad367ab290715d1c213365ff9dfb7'
'ae435e45bf0b49fea0dae98b95ca59c5'
'4d835793d2542e778e2cf2e26aa5e3f3')
fi
build() {
cd $startdir/src/$pkgname-$pkgver-bin-i386
mkdir -p $startdir/pkg/usr/{bin,lib/$pkgname,share/applications}
cp $pkgname $startdir/pkg/usr/bin
cd $startdir/src/$pkgname-modules-$pkgver-bin-i386
cp * $startdir/pkg/usr/lib/$pkgname
cp $startdir/src/$pkgname.desktop $startdir/pkg/usr/share/applications
}