mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-15 05:32:26 +01:00
31 lines
704 B
Plaintext
31 lines
704 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=sudo
|
|
pkgver=1.7.2_p6
|
|
_realver=${pkgver%_*}${pkgver#*_}
|
|
pkgrel=1
|
|
pkgdesc="Give certain users the ability to run some commands as root"
|
|
url="http://www.sudo.ws/sudo/"
|
|
license='custom ISC'
|
|
depends=
|
|
source="ftp://ftp.sudo.ws/pub/sudo/$pkgname-$_realver.tar.gz"
|
|
subpackages="$pkgname-doc"
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$_realver"
|
|
|
|
./configure --prefix=/usr \
|
|
--with-env-editor \
|
|
--without-pam \
|
|
--without-skey \
|
|
--without-offensive-insults \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$_realver"
|
|
make -j1 DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="c4f1a43e8ba94f6bf06d2211442148c4 sudo-1.7.2p6.tar.gz"
|