summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimofey Titovets2016-10-26 05:14:34 +0300
committerTimofey Titovets2016-10-26 05:14:34 +0300
commit3d6ce9039e32ea7c36696e8de2df55534e7fb5aa (patch)
treeb57e2bd54a9e0ca1d2c4fd0a30051b93c0c1870f
parentcf0358691885d3bc2c2d4dcd66d0e516f5dd8a6b (diff)
downloadaur-3d6ce9039e32ea7c36696e8de2df55534e7fb5aa.tar.gz
Use install.sh
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4ba5d0e9212..7f0d47230c7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Oct 25 17:08:36 UTC 2016
+# Wed Oct 26 02:14:18 UTC 2016
pkgbase = ananicy-git
pkgdesc = Ananicy - is Another auto nice daemon, with community rules support
pkgver = 49.232884a
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Nefelim4ag/Ananicy.git
install = ananicy-git.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 006092d8de8..ad5123ca9bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ananicy-git
pkgver=49.232884a
-pkgrel=1
+pkgrel=2
pkgdesc="Ananicy - is Another auto nice daemon, with community rules support"
arch=('any')
url="https://github.com/Nefelim4ag/Ananicy.git"
@@ -18,8 +18,9 @@ pkgver() {
}
package() {
- mkdir -p "$pkgdir"/etc/
- mv "$srcdir"/$pkgname/ananicy.d "$pkgdir"/etc/
- install -Dm644 "$srcdir"/$pkgname/ananicy.service "$pkgdir"/usr/lib/systemd/system/ananicy.service
- install -Dm755 "$srcdir"/$pkgname/ananicy.sh "$pkgdir"/usr/lib/systemd/scripts/ananicy.sh
+ "$srcdir"/install.sh PREFIX="$pkgdir"
+ #mkdir -p "$pkgdir"/etc/
+ #mv "$srcdir"/$pkgname/ananicy.d "$pkgdir"/etc/
+ #install -Dm644 "$srcdir"/$pkgname/ananicy.service "$pkgdir"/usr/lib/systemd/system/ananicy.service
+ #install -Dm755 "$srcdir"/$pkgname/ananicy.sh "$pkgdir"/usr/lib/systemd/scripts/ananicy.sh
}