void-packages/srcpkgs/slcp/template
2017-07-20 13:44:21 +02:00

21 lines
606 B
Bash

# Template file for 'slcp'
pkgname=slcp
version=0.2
revision=8
build_style=gnu-makefile
makedepends="libgit2-devel"
short_desc="Simple shell prompt written in C"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="THE BEER-WARE LICENSE (Revision 42)"
homepage="https://github.com/schachmat/slcp"
distfiles="https://github.com/schachmat/slcp/archive/${version}.tar.gz"
checksum=a26e56832e37dbf1c7b776ddb137e422c987c19330575708a5945697e08e7cfe
pre_build() {
sed -i 's|^CFLAGS =|override CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS =|override LDFLAGS +=|g' config.mk
}
post_install() {
vlicense LICENSE
}