summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 999c6ece22609fbba6a8bf40a0c84e4da13fde95 (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: Nici <NicolasVontobel at protonmail dot com>
pkgname='lavat-git'
_pkgname='lavat'
pkgver=r13.5d2629c
pkgrel=1
epoch=1
pkgdesc="Little program that simulates a lava lamp in the terminal."
arch=('any')
url="https://github.com/AngelJumbo/lavat.git"
license=('MIT')
depends=()
makedepends=() 
source=('git+https://github.com/AngelJumbo/lavat.git')
md5sums=('SKIP')

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

build() {
	cd ${_pkgname}
	make
}

package() {
	cd ${_pkgname}
	install -Dm755 ./lavat "$pkgdir/usr/bin/$_pkgname"
}