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
|
2021-05-11 22:34:00 +02:00
|
|
|
pkgrel=2
|
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")
|
2021-04-20 10:46:31 +02:00
|
|
|
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
|
|
|
|
2021-05-02 21:19:23 +02:00
|
|
|
install -dm0750 "$pkgdir"/etc/sudoers.d/
|
|
|
|
install -m0644 wheel "$pkgdir"/etc/sudoers.d/wheel
|
2021-04-20 10:33:47 +02:00
|
|
|
}
|