summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 56164307c0144fc154735feab0852208b7a592ca (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: Victor Tran <vicr12345 at gmail dot com>
pkgname=thefile
pkgver=3.0
pkgrel=0
pkgdesc="Simple File Manager"
arch=("x86_64")
url="https://github.com/vicr123/thefile"
license=('GPL2')
depends=('kwidgetsaddons' 'xdg-utils')
makedepends=('qtchooser' 'git' 'clang')
optdepends=('jmtpfs: for MTP support')
source=("$pkgname-$pkgver"::'git+https://github.com/vicr123/thefile#branch=master')
md5sums=('SKIP')

build() {
	cd "$pkgname-$pkgver"
	qmake
	make
}

package() {
	mkdir -p "$pkgdir/usr/bin"
	cp "$pkgname-$pkgver/thefile" "$pkgdir/usr/bin"
	mkdir -p "$pkgdir/usr/share/applications"
	cp "$pkgname-$pkgver/theFile.desktop" "$pkgdir/usr/share/applications"
}