summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2d28ae33cd0f7e2034727640dc4272eb729256b4 (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
28
29
30

# Maintainer: Victor Tran <vicr12345 at gmail dot com>
pkgname=thefile
pkgver=3.1
pkgrel=0
pkgdesc="Simple File Manager"
arch=("x86_64")
url="https://github.com/vicr123/thefile"
license=('GPL2')
depends=('kwidgetsaddons' 'xdg-utils' 'qt5-base')
makedepends=('git' 'clang')
optdepends=('jmtpfs: for MTP support'
	    'ifuse: for iOS support'
	    'usbmuxd: for iOS support'
	    'libplist: for iOS 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"
}