makedeb


ananicy 2.2.1-2


Another auto nice daemon, with community rules support

Click here to go back to the commit logs for ananicy.

Commit:


Hash: c9d6f1ccf9e8a282cd2e6710b922bf690a0a93b3

Message: Removed deprecated ananicy.install

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 13da404..3523192 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,7 +5,6 @@ pkgbase = ananicy
 	pkgver = 2.2.1
 	pkgrel = 1
 	url = https://github.com/Nefelim4ag/Ananicy.git
-	install = ananicy.install
 	arch = any
 	license = GPL3
 	makedepends = git
@@ -14,7 +13,6 @@ pkgbase = ananicy
 	depends = schedtool
 	depends = python3
 	optdepends = systemd: systemd service
-	conflicts = ananicy-git
 	backup = etc/ananicy.d/ananicy.conf
 	source = ananicy::git+https://github.com/Nefelim4ag/Ananicy.git#tag=2.2.1
 	sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 26ea07a..c1a4033 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,10 +11,8 @@ license=('GPL3')
 depends=('bash' 'schedtool' 'python3')
 optdepends=('systemd: systemd service')
 makedepends=('git' 'make')
-conflicts=('ananicy-git')
 source=("$pkgname"::"git+https://github.com/Nefelim4ag/Ananicy.git#tag=${pkgver}")
 sha256sums=('SKIP')
-install=$pkgname.install
 backup=('etc/ananicy.d/ananicy.conf')
 
 package() {
@@ -23,3 +21,9 @@ package() {
   mkdir -p "$pkgdir/usr/"
   mv -v "$pkgdir/lib" "$pkgdir/usr/"
 }
+
+post_install() {
+	echo "To enable:"
+	echo "\$ sudo systemctl enable ananicy"
+	echo "Configs in /etc/ananicy.d/"
+}