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

_pkgname=color-scripts-launcher
pkgname=$_pkgname-git
pkgver=r13.876a869
pkgrel=1
pkgdesc="Preview color scripts before launching them"
arch=(any)
url="https://gitlab.com/timescam/$_pkgname"
license=('WTFPL')
depends=('fzf')
makedepends=('git')
optdepends=('shell-color-scripts: provide colorscripts')

provides=("color")

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

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

package () {
        install -Dm755 "$srcdir/$_pkgname/color" "$pkgdir/usr/bin/color"
}