# Maintainer: Christian Schendel # Contributor: Gavin Lyons # https://github.com/gavinlyonsrepo/cylon pkgname=cylon pkgver=6.4 pkgrel=3 pkgdesc="Updates, Maintenance, backup and system checks in a menu driven TUI written in Bash" arch=('any') url="https://github.com/gavinlyonsrepo/cylon" license=( GPL-3.0-or-later ) makedepends=( git ) optdepends=( 'auracle-git: AUR helper' 'trizen: AUR helper' 'lostfiles: For finding lost files' 'arch-audit: collect CVE data' 'rmlint: Finds lint and other unwanted' 'bleachbit: used for system clean' 'gnu-netcat: used for checking network' 'openbsd-netcat: used for checking network' 'libnotify: desktop notifications' ) source=("$pkgname-$pkgver::git+$url.git#tag=$pkgver") b2sums=('2b72dfbdf595d60fe98c8f96d1dc8d18c95be845073aab1c85b4752993771f061e99067d0d93192e1b40fa90fd5115767991cd08dccdfde21ebb5dcd10ef2949') package() { depends+=( bash dialog expac pacman-contrib ) cd "${pkgname}-${pkgver}" install -Dm0755 main/Cylon.sh "$pkgdir"/usr/bin/"${pkgname}" install -d "$pkgdir"/usr/lib/cylon/modules install -Dm0644 modules/*_module "$pkgdir"/usr/lib/cylon/modules install -d "$pkgdir"/usr/share/doc/"${pkgname}" install -Dm0644 README.md "$pkgdir/usr/share/doc/${pkgname}/Readme.md" install -Dm0644 documentation/help/*.md "$pkgdir/usr/share/doc/${pkgname}/" install -Dm0644 documentation/help/cylon.7 "$pkgdir/usr/share/man/man7/cylon.7" install -Dm0644 desktop/cylon.desktop "$pkgdir/usr/share/applications/cylon.desktop" install -Dm0644 desktop/cylonicon.png "$pkgdir/usr/share/pixmaps/cylonicon.png" } # vim: set ft=sh ts=4 sw=4 et: