# Maintainer: Erich Eckner pkgname=update-all pkgver=0.9 pkgrel=1 pkgdesc="Simple script for installing updated packages" arch=('any') url="https://git.eckner.net/Erich/${pkgname}" license=('GPL') groups=() OS=$( awk -F= '$1 == "ID" {print $2}' /etc/os-release ) _arch_depends=( 'archlinux-contrib' ) depends=( 'pacman-contrib' 'vim' ) if [ "${OS}" = 'arch' ]; then depends+=("${_arch_depends[@]}") fi makedepends=() checkdepends=() optdepends=( 'check-kernel: check if reboot is necessary after update' 'shutdownasap: allow for less-interuptive reboot' 'simple-package-report: allow for telemetry data upload' ) provides=() conflicts=() replaces=() backup=('etc/update-me.conf' 'etc/update-all.conf') options=() source=( "https://git.eckner.net/Erich/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.xz" ) sha512sums=('74985c8763a28675ad8bb1615b407c68686698d3fe6f199aea4ec3e14d2c95afeab5308d48df82ec6f6dc9007277097b5f8a9ee9d126c42ada6ada0a68e78efa') build() { cd ${pkgname}-${pkgver} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }