arch/pkg/de-p1st-sudo/PKGBUILD

22 lines
480 B
Bash
Raw Normal View History

2021-04-20 10:33:47 +02:00
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=sudo
2021-04-26 18:28:17 +02:00
_reponame=arch
2021-04-20 10:33:47 +02:00
pkgname="de-p1st-$_pkgname"
2021-05-02 21:19:23 +02:00
pkgver=0.0.2
2022-04-27 19:49:30 +02:00
pkgrel=3
2021-04-20 10:33:47 +02:00
pkgdesc="sudo with configuration"
arch=('any')
2021-04-26 18:25:29 +02:00
url="https://codeberg.org/privacy1st/${_reponame}"
2021-04-20 10:33:47 +02:00
license=('MIT')
2021-04-20 11:27:30 +02:00
depends=('sudo')
2021-04-22 13:37:47 +02:00
makedepends=('git')
2021-04-20 10:37:57 +02:00
source=("git+${url}.git")
sha256sums=('SKIP')
2021-04-20 10:33:47 +02:00
package() {
2021-04-20 11:17:10 +02:00
cd "${_reponame}/pkg/${pkgname}"
2021-04-20 10:33:47 +02:00
2022-04-27 19:49:30 +02:00
install -d0750 "$pkgdir"/etc/sudoers.d/
install -m0644 wheel "$pkgdir"/etc/sudoers.d/wheel
2021-04-20 10:33:47 +02:00
}