summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 43003eecf1752b6649d9a6b46ed37dca038b1589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: absrdspc <repom2@airmail.cc>
# Developer: Timofey Titovets <nefelim4ag@gmail.com>

pkgname=ananicy
pkgver=2.2.1
pkgrel=1
pkgdesc="Another auto nice daemon, with community rules support"
arch=('any')
url="https://github.com/Nefelim4ag/Ananicy.git"
license=('GPL3')
depends=('bash' 'schedtool' 'python')
optdepends=('systemd: systemd service')
makedepends=('git' 'make')
conflicts=('ananicy-git')
source=("$pkgname"::"git+https://github.com/Nefelim4ag/Ananicy.git#tag=${pkgver}")
md5sums=('SKIP')
install=$pkgname.install
backup=('etc/ananicy.d/ananicy.conf')

package() {
  cd "$srcdir/${pkgname}/"
  make install PREFIX="$pkgdir"
  mkdir -p "$pkgdir/usr/"
  mv -v "$pkgdir/lib" "$pkgdir/usr/"
}