From 9e3a8aec226e2048af98467fc57fde321bd2198d Mon Sep 17 00:00:00 2001 From: Ypnose Date: Tue, 8 Jul 2014 20:06:57 +0200 Subject: [PATCH] New package: thinglaunch-git-20140708 --- srcpkgs/thinglaunch-git/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/thinglaunch-git/template diff --git a/srcpkgs/thinglaunch-git/template b/srcpkgs/thinglaunch-git/template new file mode 100644 index 00000000000..c362b06413b --- /dev/null +++ b/srcpkgs/thinglaunch-git/template @@ -0,0 +1,28 @@ +# Template file for 'thinglaunch-git' +pkgname=thinglaunch-git +version=20140708 +revision=1 +makedepends="libX11-devel" +build_style=gnu-makefile +short_desc="A simple command and password prompter for X11" +maintainer="Ypnose " +license="MIT" +homepage="http://git.r-36.net/thinglaunch/" +provides="thinglaunch-${version}_${revision}" +replaces="thinglaunch>=0" + +do_fetch() { + local url="git://git.r-36.net/thinglaunch" + msg_normal "Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +} + +pre_build() { + sed -i 's| -I/usr/include||g' config.mk + sed -i 's| -L/usr/lib||g' config.mk +} + +post_install() { + vinstall LICENSE 644 usr/share/licenses/thinglaunch + vinstall LICENSE.orig 644 usr/share/licenses/thinglaunch +}