desktop/qtfm/PKGBUILD
2011-04-09 19:38:46 +00:00

33 lines
910 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
pkgname=qtfm
pkgver=4.9
pkgrel=1
pkgdesc="A lightweight file manager"
arch=('i686' 'x86_64')
url="http://www.qtfm.org"
license=('GPL')
depends=('qt')
source=(http://www.qtfm.org/$pkgname-$pkgver.tar.gz)
md5sums=('09e4e09f4d18c9967e65249f8b509522')
build() {
cd "$startdir/src/$pkgname-$pkgver"
qmake
make
}
package() {
cd "$startdir/src/$pkgname-$pkgver"
install -Dm 755 ${startdir}/src/$pkgname-$pkgver/qtfm ${startdir}/pkg/usr/bin/qtfm
install -Dm 644 ${startdir}/src/$pkgname-$pkgver/qtfm.desktop ${startdir}/pkg/usr/share/applications/qtfm.desktop
install -Dm 644 ${startdir}/src/$pkgname-$pkgver/images/qtfm.png ${startdir}/pkg/usr/share/pixmaps/qtfm.png
}