blob: 0fa754e2af7599b09d558669bd13d4918379581a (
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
|
# Maintainer: Primalmotion <primalmotion at pm dot me>
pkgname=monocol-git
pkgdesc="Simple tool to generate monochromatic colorscheme for wpg"
url="https://git.sr.ht/~primalmotion/monocol"
pkgver=v1.0.0.r0.g9998d59
pkgrel=1
license=(GPL3)
arch=(any)
makedepends=(go )
source=("${pkgname}::git+${url}")
sha1sums=('SKIP')
provides=("monocol")
conflicts=("monocol")
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
make monocol
}
package() {
cd "${srcdir}/${pkgname}"
PREFIX=${pkgdir}/usr make install
}
|