void-packages/srcpkgs/thinglaunch/template

26 lines
768 B
Bash

# Template file for 'thinglaunch'
pkgname=thinglaunch
version=2.4
revision=2
makedepends="libX11-devel"
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lX11"
short_desc="A simple command and password prompter for X11"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
license="MIT"
homepage="http://git.r-36.net/${pkgname}/"
distfiles="http://git.r-36.net/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
checksum="56c7d80ebfc9bba63cf0eb765daec6d1aa893a1eccb2622c1d9cca262d043579"
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
}