summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 17b3c177805b760ebb427e75a81eb05bd875a0ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Lakshmanan <lakshmanoni1234@gmail.com>
pkgname=pacsaviour
pkgver=0.1.2
pkgrel=3
pkgdesc="An automation tool for optimising mirrors, cleaning and updating the system"
arch=('x86_64')
url="https://github.com/Luxxgit2k4/pacsaviour"
license=('MIT')
depends=('bash' 'git' 'reflector')
makedepends=(git)
source=("git+https://github.com/Luxxgit2k4/pacsaviour.git")
sha256sums=('SKIP')

package() {
  cd "$srcdir/$pkgname"
  chmod +x main.sh scripts/mirror_optimize.sh scripts/cleanup.sh scripts/update.sh scripts/ascii.sh
  install -Dm755 "$srcdir/$pkgname/main.sh" "$pkgdir/usr/bin/pacsaviour"
  install -Dm755 "$srcdir/$pkgname/scripts/mirror_optimize.sh" "$pkgdir/usr/lib/pacsaviour/mirror_optimize.sh"
  install -Dm755 "$srcdir/$pkgname/scripts/cleanup.sh" "$pkgdir/usr/lib/pacsaviour/cleanup.sh"
  install -Dm755 "$srcdir/$pkgname/scripts/update.sh" "$pkgdir/usr/lib/pacsaviour/update.sh"
  install -Dm755 "$srcdir/$pkgname/scripts/ascii.sh" "$pkgdir/usr/lib/pacsaviour/ascii.sh"
}