77 lines
1.6 KiB
Bash
77 lines
1.6 KiB
Bash
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
|
|
# Contributor: Robin Candau <antiz@archlinux.org>
|
|
|
|
#shellcheck disable=SC2100
|
|
pkgname=arch-update
|
|
pkgver=3.17.4
|
|
epoch=1
|
|
pkgrel=1
|
|
pkgdesc="An update notifier & applier that assists you with important pre / post update tasks"
|
|
url="https://github.com/Antiz96/arch-update"
|
|
arch=('any')
|
|
license=(
|
|
GPL-3.0-or-later
|
|
)
|
|
depends=(
|
|
archlinux-contrib
|
|
bash
|
|
curl
|
|
diffutils
|
|
fakeroot
|
|
glib2
|
|
hicolor-icon-theme
|
|
htmlq
|
|
pacman
|
|
pacman-contrib
|
|
python
|
|
python-pyqt6
|
|
qt6-svg
|
|
systemd
|
|
xdg-utils
|
|
)
|
|
makedepends=(
|
|
git
|
|
scdoc
|
|
)
|
|
checkdepends=(
|
|
bats
|
|
)
|
|
optdepends=(
|
|
'paru: AUR Packages support'
|
|
'yay: AUR Packages support'
|
|
'pikaur: AUR Packages support'
|
|
'flatpak: Flatpak Packages support'
|
|
'libnotify: Desktop notifications support on new available updates'
|
|
'vim: Default diff program for pacdiff'
|
|
'neovim: Default diff program for pacdiff if EDITOR=nvim'
|
|
'sudo: Privilege elevation'
|
|
'sudo-rs: Privilege elevation'
|
|
'opendoas: Privilege elavation'
|
|
)
|
|
source=(
|
|
"${pkgname}-${pkgver}::git+${url}.git#tag=v${pkgver}?signed"
|
|
)
|
|
b2sums=('27da27a077a57874d62ea11879a841212b81ff011cb0286a2148c7a1b172aaa63d86e72c1673cb36d8093a9cb9e4c6ba039d53a8886e5e6adacc0f85a5d81839')
|
|
validpgpkeys=(
|
|
'A67CCEEBF9613C17FDE96E4ED33FAA16B937F3B2'
|
|
|
|
)
|
|
prepare() {
|
|
cd "${pkgname}-${pkgver}"
|
|
make clean
|
|
}
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${pkgname}-${pkgver}"
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
make PREFIX=/usr DESTDIR="${pkgdir}" install
|
|
}
|