From bab324a629eb2c38e29771d85817ad61b856e7e6 Mon Sep 17 00:00:00 2001 From: m-cz Date: Sat, 22 Jul 2017 14:59:11 +0200 Subject: [PATCH] New package: geomyidae-0.27 --- srcpkgs/geomyidae/files/geomyidae/run | 2 ++ srcpkgs/geomyidae/template | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100755 srcpkgs/geomyidae/files/geomyidae/run create mode 100644 srcpkgs/geomyidae/template diff --git a/srcpkgs/geomyidae/files/geomyidae/run b/srcpkgs/geomyidae/files/geomyidae/run new file mode 100755 index 0000000000..4235f148db --- /dev/null +++ b/srcpkgs/geomyidae/files/geomyidae/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec geomyidae -d diff --git a/srcpkgs/geomyidae/template b/srcpkgs/geomyidae/template new file mode 100644 index 0000000000..6530458189 --- /dev/null +++ b/srcpkgs/geomyidae/template @@ -0,0 +1,23 @@ +# Template file for 'geomyidae' +pkgname=geomyidae +version=0.27 +revision=1 +build_style=gnu-makefile +short_desc="A small C-based gopherd" +maintainer="m-cz " +license="MIT" +homepage="http://git.r-36.net/${pkgname}/" +distfiles="http://git.r-36.net/${pkgname}/snapshot/${pkgname}-${version}.tar.gz" +checksum="d5164298890cf4a83de46e1baf6fefb81b26d1a462b5ebc628547cbf1f7a7916" + +pre_build() { + sed -i 's| -O0||g' Makefile + sed -i 's|^CFLAGS *=|override CFLAGS +=|g' Makefile + sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' Makefile +} + +post_install() { + vsv geomyidae + vlicense LICENSE +} +