summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8808d1855137b120777110c440c8dc95bc6bd17f (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-blueprint
pkgver=4.0
pkgrel=0
pkgdesc="Simple File Manager"
arch=("x86_64")
url="https://github.com/vicr123/thefile"
license=('GPL2')
depends=('xdg-utils' 'qt5-base')
makedepends=('git')
source=("$pkgname-$pkgver"::'git+https://github.com/vicr123/thefile#branch=rewrite'
	"thefile-b.desktop")
md5sums=('SKIP'
	 'SKIP')

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

package() {
	cd "$pkgname-$pkgver"
	make install INSTALL_ROOT=$pkgdir
	cd $srcdir
	rm $pkgdir/usr/share/applications/thefile.desktop
	cp "thefile-b.desktop" "$pkgdir/usr/share/applications"
	mv $pkgdir/usr/bin/thefile $pkgdir/usr/bin/thefile-b
}