void-packages/srcpkgs/thinglaunch/template
2015-06-13 12:14:35 +02:00

25 lines
765 B
Bash

# Template file for 'thinglaunch'
pkgname=thinglaunch
version=2.4
revision=1
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="Ypnose <ypnoseATvoidlinuxDOTeu>"
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>=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
}