From 6618b93ff664ac45ddc88d0f411903d4c0da6c76 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sun, 14 Jun 2015 12:16:04 +0200 Subject: [PATCH] sic: replace the git pkg by a release (and remove quark) --- srcpkgs/quark-git/template | 29 ----------------------------- srcpkgs/sic-git/template | 30 ------------------------------ srcpkgs/sic/template | 24 ++++++++++++++++++++++++ 3 files changed, 24 insertions(+), 59 deletions(-) delete mode 100644 srcpkgs/quark-git/template delete mode 100644 srcpkgs/sic-git/template create mode 100644 srcpkgs/sic/template diff --git a/srcpkgs/quark-git/template b/srcpkgs/quark-git/template deleted file mode 100644 index 9b7016f31d..0000000000 --- a/srcpkgs/quark-git/template +++ /dev/null @@ -1,29 +0,0 @@ -# Template file for 'quark-git' -pkgname=quark-git -version=20141213 -revision=1 -build_style=gnu-makefile -hostmakedepends="git" -short_desc="Simple httpd get daemon" -maintainer="Ypnose " -license="MIT" -homepage="http://git.suckless.org/quark/" -provides="quark-${version}_${revision}" -replaces="quark>=0" - -do_fetch() { - local url="git://git.suckless.org/quark" - msg_normal "Fetching source from $url ...\n" - git clone ${url} ${pkgname}-${version} -} - -pre_build() { - sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk - sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk - sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk -} - -post_install() { - vinstall LICENSE 644 usr/share/licenses/quark - vinstall README 644 usr/share/doc/quark -} diff --git a/srcpkgs/sic-git/template b/srcpkgs/sic-git/template deleted file mode 100644 index a1702c1529..0000000000 --- a/srcpkgs/sic-git/template +++ /dev/null @@ -1,30 +0,0 @@ -# Template file for 'sic-git' -pkgname=sic-git -version=20141213 -revision=1 -build_style=gnu-makefile -hostmakedepends="git" -make_build_args="INCS=-I. LIBS=" -short_desc="Simple irc client" -maintainer="Ypnose " -license="MIT" -homepage="http://tools.suckless.org/sic" -provides="sic-${version}_${revision}" -replaces="sic>=0" - -do_fetch() { - local url="git://git.suckless.org/sic" - msg_normal "Fetching source from $url ...\n" - git clone ${url} ${pkgname}-${version} -} - -pre_build() { - sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk - sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk - sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk -} - -post_install() { - vinstall LICENSE 644 usr/share/licenses/sic - vinstall README 644 usr/share/doc/sic -} diff --git a/srcpkgs/sic/template b/srcpkgs/sic/template new file mode 100644 index 0000000000..ddc94ea085 --- /dev/null +++ b/srcpkgs/sic/template @@ -0,0 +1,24 @@ +# Template file for 'sic' +pkgname=sic +version=1.2 +revision=1 +build_style=gnu-makefile +make_build_args="INCS=-I. LIBS=" +short_desc="Simple irc client" +maintainer="Ypnose " +license="MIT" +homepage="http://tools.suckless.org/${pkgname}" +distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz" +checksum="ac07f905995e13ba2c43912d7a035fbbe78a628d7ba1c256f4ca1372fb565185" +replaces="sic>=0" + +pre_build() { + 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 + vdoc README +}