summaryrefslogtreecommitdiff
path: root/community/qtfm/PKGBUILD
blob: 2dc9dbedea078aa4c8696263122ad3a267dac009 (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
# Maintainer: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Wittfella <wittfella@wittfella.com>

pkgname=qtfm
pkgver=4.9
pkgrel=1
pkgdesc="A lightweight file manager"
arch=('i686' 'x86_64' 'mips64el')
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
}