diff --git a/pkg/de-p1st-hosts/.install b/pkg/de-p1st-hosts/.install deleted file mode 100644 index 8ef8a94..0000000 --- a/pkg/de-p1st-hosts/.install +++ /dev/null @@ -1,35 +0,0 @@ -# This is a default template for a post-install scriptlet. -# Uncomment only required functions and remove any functions -# you don't need (and this header). - -## arg 1: the new package version -#pre_install() { - # do something here -#} - -## arg 1: the new package version -post_install() { - holo apply -} - -## arg 1: the new package version -## arg 2: the old package version -#pre_upgrade() { - # do something here -#} - -## arg 1: the new package version -## arg 2: the old package version -post_upgrade() { - holo apply -} - -## arg 1: the old package version -#pre_remove() { - # do something here -#} - -## arg 1: the old package version -post_remove() { - holo apply -} diff --git a/pkg/de-p1st-hosts/PKGBUILD b/pkg/de-p1st-hosts/PKGBUILD deleted file mode 100644 index 89e94ba..0000000 --- a/pkg/de-p1st-hosts/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Maintainer: Daniel Langbein -_pkgname=hosts -_reponame=arch -pkgname="de-p1st-$_pkgname" -pkgver=0.0.1 -pkgrel=1 -pkgdesc="/etc/hosts file" -arch=('any') -url="https://codeberg.org/privacy1st/${_reponame}" -license=('MIT') -groups=() -depends=('holo') -makedepends=('git') -optdepends=() -provides=() -conflicts=() -replaces=() -backup=() -options=() -install='.install' -changelog= -source=("git+${url}.git") -noextract=() -sha256sums=('SKIP') - -package() { - cd "${_reponame}/pkg/${pkgname}" - - install -Dm0544 hosts.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/hosts.holoscript -} diff --git a/pkg/de-p1st-hosts/README.md b/pkg/de-p1st-hosts/README.md deleted file mode 100644 index b0ac13c..0000000 --- a/pkg/de-p1st-hosts/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# /etc/hosts - -If the system has a permanent IP address, it should be used instead of `127.0.1.1`. -* Archwiki: [Installation_guide#Network_configuration](https://wiki.archlinux.org/index.php/Installation_guide#Network_configuration) diff --git a/pkg/de-p1st-hosts/hosts.holoscript b/pkg/de-p1st-hosts/hosts.holoscript deleted file mode 100644 index d41f251..0000000 --- a/pkg/de-p1st-hosts/hosts.holoscript +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# stdin: default config -# stdout: modified config - -echo "127.0.0.1 localhost -::1 localhost -127.0.1.1 ${HOST}.localdomain ${HOST} -"