summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f2bdc393332cd38b7dd857e5ab08cdbfedb644b (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
41

# Maintainer: GhibranAljabbar <ghibranaljaur@gmail.com>
pkgname=rgb-tui-git
pkgver=1.1
pkgrel=1
epoch=
pkgdesc="Create and get colors code from the terminal using a nice interface."
arch=(x86_64)
url="https://github.com/ArthurSonzogni/rgb-tui"
license=('MIT')
groups=()
depends=()
makedepends=(cmake make git)
checkdepends=()
optdepends=()
provides=(rgb-tui)
conflicts=(rgb-tui-bin)
replaces=()
backup=()
options=()
install=
changelog=
source=("git+$url")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

prepare() {
	cd rgb-tui
	cmake -DCMAKE_BUILD_TYPE=Release .
}

build() {
	cd rgb-tui
	make
}

package() {
	cd rgb-tui
	make DESTDIR="$pkgdir/" install
}