summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ccd3bfb2e94044fdd6ce6bdf2c8b9e48d7f907f3 (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: Andrés Rodríguez <andres.rodriguez __at__ lithersoft.com>

pkgname=('quickfm-git')
pkgver=v0.3.1.r3.g61f5b74
pkgrel=1
pkgdesc="A file manager implemented via QtQuick."
arch=(x86_64)
url="https://github.com/canatan/quickfm"
license=('GPL2')
source=("git://github.com/canatan/quickfm.git")
sha256sums=("SKIP")

pkgver() {
	cd quickfm
	git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd quickfm
	qmake PREFIX=/usr
	make
}

package() {
	cd $srcdir/quickfm
	make DESTDIR="$pkgdir/" INSTALL_ROOT="$pkgdir" install
}