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

View File

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