From a32579a544c8d294825c31586927717a18ee303d Mon Sep 17 00:00:00 2001 From: ferrreo Date: Mon, 26 Jun 2023 19:52:46 +0100 Subject: [PATCH] initial release --- ananicy-rules/debian/ananicy-rules.install | 1 + ananicy-rules/debian/changelog | 5 +++++ ananicy-rules/debian/control | 13 +++++++++++++ {debian => ananicy-rules/debian}/copyright | 0 ananicy-rules/debian/postinst | 6 ++++++ {debian => ananicy-rules/debian}/rules | 0 .../debian}/scripts/get_pwd.sh | 0 .../debian}/source/format | 0 ananicy-rules/etc/ananicy.d/empty | 0 debian/changelog | 5 ----- debian/control | 19 ------------------- main.sh | 5 ++--- 12 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 ananicy-rules/debian/ananicy-rules.install create mode 100644 ananicy-rules/debian/changelog create mode 100644 ananicy-rules/debian/control rename {debian => ananicy-rules/debian}/copyright (100%) create mode 100644 ananicy-rules/debian/postinst rename {debian => ananicy-rules/debian}/rules (100%) rename {debian => ananicy-rules/debian}/scripts/get_pwd.sh (100%) rename {debian => ananicy-rules/debian}/source/format (100%) create mode 100644 ananicy-rules/etc/ananicy.d/empty delete mode 100644 debian/changelog delete mode 100644 debian/control diff --git a/ananicy-rules/debian/ananicy-rules.install b/ananicy-rules/debian/ananicy-rules.install new file mode 100644 index 0000000..dd7999b --- /dev/null +++ b/ananicy-rules/debian/ananicy-rules.install @@ -0,0 +1 @@ +etc \ No newline at end of file diff --git a/ananicy-rules/debian/changelog b/ananicy-rules/debian/changelog new file mode 100644 index 0000000..8e86689 --- /dev/null +++ b/ananicy-rules/debian/changelog @@ -0,0 +1,5 @@ +ananicy-rules (1.0.0-99pika1) lunar; urgency=medium + + * Initial release. + + -- ferreo Wed, 18 Jan 2023 21:48:14 +0000 diff --git a/ananicy-rules/debian/control b/ananicy-rules/debian/control new file mode 100644 index 0000000..8d3ed6e --- /dev/null +++ b/ananicy-rules/debian/control @@ -0,0 +1,13 @@ +Source: ananicy-rules +Section: main +Priority: optional +Maintainer: ferrreo +Standards-Version: 4.6.1 +Build-Depends: debhelper-compat (= 13) +Rules-Requires-Root: no + +Package: ananicy-rules +Architecture: linux-any +Depends: ${misc:Depends}, ananicy-cpp +Provides: ananicy-rules +Description: a base set of ananicy-rules diff --git a/debian/copyright b/ananicy-rules/debian/copyright similarity index 100% rename from debian/copyright rename to ananicy-rules/debian/copyright diff --git a/ananicy-rules/debian/postinst b/ananicy-rules/debian/postinst new file mode 100644 index 0000000..648cc29 --- /dev/null +++ b/ananicy-rules/debian/postinst @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e + +systemctl enable ananicy-cpp --now +systemctl start ananicy-cpp \ No newline at end of file diff --git a/debian/rules b/ananicy-rules/debian/rules similarity index 100% rename from debian/rules rename to ananicy-rules/debian/rules diff --git a/debian/scripts/get_pwd.sh b/ananicy-rules/debian/scripts/get_pwd.sh similarity index 100% rename from debian/scripts/get_pwd.sh rename to ananicy-rules/debian/scripts/get_pwd.sh diff --git a/debian/source/format b/ananicy-rules/debian/source/format similarity index 100% rename from debian/source/format rename to ananicy-rules/debian/source/format diff --git a/ananicy-rules/etc/ananicy.d/empty b/ananicy-rules/etc/ananicy.d/empty new file mode 100644 index 0000000..e69de29 diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 328bc5c..0000000 --- a/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -upstream-name (pkgver-pkgrel) distro_codename; urgency=medium - - * Initial release. (Closes: #nnnn) - - -- ferreo Wed, 18 Jan 2023 21:48:14 +0000 diff --git a/debian/control b/debian/control deleted file mode 100644 index 0bcd8e0..0000000 --- a/debian/control +++ /dev/null @@ -1,19 +0,0 @@ -Source: upstream-name -Section: admin -Priority: optional -Maintainer: name -Standards-Version: 4.6.1 -Build-Depends: debhelper-compat (= 13) -Rules-Requires-Root: no - -Package: pkgname1 -Architecture: linux-any -# Delete any of these lines if un-used -Depends: ${misc:Depends}, depends -Recommends: high priority optdepends -Conflicts: conflicts -Suggests: low priority optdepends -Breaks: also conflicts!? -Provides: provides -# -Description: pkgdesc diff --git a/main.sh b/main.sh index 4fd7b08..54f2bd0 100755 --- a/main.sh +++ b/main.sh @@ -3,9 +3,8 @@ DEBIAN_FRONTEND=noninteractive # Clone Upstream -mkdir -p ./src-pkg-name -cp -rvf ./debian ./src-pkg-name/ -cd ./src-pkg-name/ +cd ananicy-rules +git clone https://github.com/CachyOS/ananicy-rules.git ./etc/ananicy.d # Get build deps apt-get build-dep ./ -y