summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e4a7d244bed7bedcb5c908c62cf4060578f5b784 (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
# Maintainer: timescam <rex.ky.ng at gmail dot com>

_pkgname=paleta
pkgname=$_pkgname-git
pkgver=r138.b200489
pkgrel=3
pkgdesc="Change terminal colors on-the-fly independent of terminal emulator. "
arch=(any)
url="https://github.com/dylanaraps/$_pkgname"
license=('MIT')
makedepends=('git')

provides=("$_pkgname")

source=("$_pkgname::git+https://github.com/dylanaraps/$_pkgname.git")
md5sums=('SKIP')

pkgver() {
        cd "$srcdir/$_pkgname"
        echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
	cd "$_pkgname"
	make
}

package () {
        cd "$_pkgname"
        make DESTDIR="$pkgdir/" install
}