jobextra/etc-update/PKGBUILD

35 lines
1.4 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname='etc-update'
pkgdesc="CLI to interactively merge .pacnew configuration files"
pkgver=2.3.99
pkgrel=03 ## 20230114 rebuild on new ed
arch=('any')
url="https://wiki.gentoo.org/wiki/Handbook:X86/Portage/Tools#etc-update"
depends=('bash' 'ed')
makedepends=('git')
optdepends=('dialog: for the menu mode')
backup=("etc/etc-update.conf")
source=("https://github.com/gentoo/portage/archive/portage-${pkgver}.tar.gz")
package() {
cd portage-portage-${pkgver}
install -vDm755 bin/${pkgname} -t "${pkgdir}/usr/bin"
install -vDm644 cnf/${pkgname}.conf -t "${pkgdir}/etc"
install -vDm644 man/${pkgname}.1 -t "${pkgdir}/usr/share/man/man1"
}
#---- license gpg-key sha256sums ----
license=('GPL')
sha512sums=('aa5f955c191106855bc802e6991e51c309ee6727b8a2cb57ab4ca28f48e1f7959a718b54b0b60e22559c436d370da8c1847ddfdc09b3ed823cde8d688be015f6')
b2sums=('25065893dff649d6380a6e6debc6461c015e225811f26dbe994a572a4434feee241ac9b22f48cadd0f5071e6d76f1a69f7607e36e108e7a244c5795e5e6dd9f6')
sha256sums=(fc5dcc37033d876360c8427d1b6afbdb29786a675d6741909fb341da54568a1d) # portage-2.3.99.tar.gz