void-packages/srcpkgs/thinglaunch/template

26 lines
767 B
Bash

# Template file for 'thinglaunch'
pkgname=thinglaunch
version=2.4
revision=3
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lX11"
makedepends="libX11-devel"
short_desc="A simple command and password prompter for X11"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://git.r-36.net/thinglaunch/"
distfiles="ftp://bitreich.org/releases/thinglaunch/thinglaunch-v${version}.tgz"
checksum=71ed8d17c1a2898cbf89e35816cd7d7dfb8049fcab7145426c337a2768dd8f82
replaces="thinglaunch-git>=0"
pre_build() {
sed -i 's| -O0||g' config.mk
sed -i 's|^CPPFLAGS *=|override CPPFLAGS +=|g' config.mk
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk
}
post_install() {
vlicense LICENSE
}