summaryrefslogtreecommitdiff
path: root/community/qtfm/PKGBUILD
blob: bfe9d21755f48e8537d0282522c866ce8c09db06 (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=5.0
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=('ad8e6d2d1533b2b1327cda557251a35d')

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
}