summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ce747f7af01bc70dec1c238f0f7ca08b36d10429 (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
31
32
33
34
35
36
37
38
39
40
# Maintainer: Totor <totor.linuxdev@gmail.com>
pkgname='vetch'
pkgver=1.0
pkgrel=1
pkgdesc="Veeeeery Tiny Fetch"
arch=('x86_64')
url="https://github.com/eeec-cal/vetch"
license=('MIT')
groups=('torkit')
depends=('viu' 'wmctrl')
makedepends=('git')
source=("vetch::git+https://github.com/eeec-cal/vetch")
sha256sums=('SKIP')



prepare() {
	cd vetch
	chmod +x vetch
}

build() {
	cd vetch

}

package() {
	cd vetch
	sudo mv vetch /usr/bin/
	if [[ -d ~/.config/vetch ]]; then
		if [[ -e ~/.config/vetch/config ]]; then
			printf ""
		else
			mv config ~/.config/vetch/
		fi
	else
		mkdir ~/.config/vetch/
		mv config ~/.config/vetch/
	fi
}