mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix
This commit is contained in:
parent
4bcb54c774
commit
a548b6e6ae
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user