This commit is contained in:
Daniel Langbein 2021-04-20 11:17:10 +02:00
parent 4bcb54c774
commit a548b6e6ae
2 changed files with 7 additions and 5 deletions

View File

@ -1,11 +1,12 @@
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=sudo
_reponame=arch-pkg
pkgname="de-p1st-$_pkgname"
pkgver=0.0.1
pkgrel=1
pkgdesc="sudo with configuration"
arch=('any')
url="https://git.privacy1st.de/langfingaz/arch-pkg"
url="https://git.privacy1st.de/langfingaz/${_reponame}"
license=('MIT')
groups=()
depends=()
@ -23,7 +24,7 @@ noextract=()
sha256sums=('SKIP')
package() {
cd "pkg/$pkgname"
cd "${_reponame}/pkg/${pkgname}"
install -Dm0644 wheel "$pkgdir"/etc/sudoers.d/wheel
}

View File

@ -1,11 +1,12 @@
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=!! TODO !!
_reponame=arch-pkg
pkgname="de-p1st-$_pkgname"
pkgver=0.0.1
pkgrel=1
pkgdesc=" !! TODO !! "
arch=('any')
url="https://git.privacy1st.de/langfingaz/arch-pkg"
url="https://git.privacy1st.de/langfingaz/${_reponame}"
license=('MIT')
groups=()
depends=()
@ -23,14 +24,14 @@ noextract=()
sha256sums=() # autofill using updpkgsums, see https://man.archlinux.org/man/updpkgsums.8.en
build() {
cd "pkg/$pkgname"
cd "${_reponame}/pkg/${pkgname}"
./configure --prefix=/usr
make
}
package() {
cd "pkg/$pkgname"
cd "${_reponame}/pkg/${pkgname}"
make DESTDIR="$pkgdir/" install
}