summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a8304e2d12246f4da1e3cda1806ab46b3d184ca0 (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
# Maintainer: Kittyy <laosnepada3@proton.me>
pkgname='smol'
pkgver=1.2
pkgrel=1
pkgdesc="Simple Fetch Script"
arch=('x86_64')
url="https://github.com/eeec-cal/smol"
license=('VPL')
makedepends=('git')
source=("smol::git+https://github.com/eeec-cal/smol")
sha256sums=('SKIP')



prepare() {
	cd smol
	chmod +x smol
}

build() {
	cd smol

}

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