void-packages/srcpkgs/sl/template
2021-05-17 00:32:25 -03:00

21 lines
515 B
Bash

# Template file for 'sl'
pkgname=sl
version=5.02
revision=3
build_style=gnu-makefile
makedepends="ncurses-devel"
short_desc="Correct you if you type (sl) by mistake"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="custom:0BSD-like"
homepage="https://github.com/mtoyoda/sl"
distfiles="https://github.com/mtoyoda/sl/archive/${version}.tar.gz"
checksum=1e5996757f879c81f202a18ad8e982195cf51c41727d3fea4af01fdcbbb5563a
pre_build() {
CFLAGS+=" $LDFLAGS"
}
do_install() {
vbin sl
vman sl.1
vlicense LICENSE
}