From 79c7427574432daa282e0ce850ddb964394c4fe7 Mon Sep 17 00:00:00 2001 From: Renato Aguiar <contact@renatoaguiar.org> Date: Mon, 1 Feb 2016 18:10:25 -0800 Subject: [PATCH] New package: hosts-update-1.37 --- .../hosts-update/patches/disable-systemd.patch | 12 ++++++++++++ srcpkgs/hosts-update/template | 17 +++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/hosts-update/patches/disable-systemd.patch create mode 100644 srcpkgs/hosts-update/template diff --git a/srcpkgs/hosts-update/patches/disable-systemd.patch b/srcpkgs/hosts-update/patches/disable-systemd.patch new file mode 100644 index 00000000000..fb7e4292dcd --- /dev/null +++ b/srcpkgs/hosts-update/patches/disable-systemd.patch @@ -0,0 +1,12 @@ +diff -ru a/Makefile b/Makefile +--- Makefile 2015-09-09 07:54:02.000000000 -0700 ++++ Makefile 2015-11-23 02:32:22.886247897 -0800 +@@ -26,7 +26,7 @@ + install -Dm644 doc/$(PN).1 "$(DESTDIR)$(MANDIR)/$(PN).1" + gzip -9 "$(DESTDIR)$(MANDIR)/$(PN).1" + +-install: install-bin install-man install-systemd ++install: install-bin install-man + + install-systemd: + $(Q)echo -e '\033[1;32mInstalling systemd files...\033[0m' diff --git a/srcpkgs/hosts-update/template b/srcpkgs/hosts-update/template new file mode 100644 index 00000000000..f9c3c293837 --- /dev/null +++ b/srcpkgs/hosts-update/template @@ -0,0 +1,17 @@ +# Template file for 'hosts-update' +pkgname=hosts-update +version=1.37 +revision=1 +noarch=yes +build_style=gnu-makefile +short_desc="Updates /etc/hosts with the mvps blocklist" +maintainer="Renato Aguiar <contact@renatoaguiar.org>" +depends="bash curl" +license="MIT" +homepage="https://github.com/graysky2/hosts-update" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum="aee3e537b85f9300761a543345f3a6331b07c8f2cd42511a01e9c008c6379859" + +post_install() { + vlicense MIT +}