aboutsummaryrefslogtreecommitdiffstats
path: root/main/sudo/APKBUILD
blob: 628d7589d9c1426e19ea42c450069992546d21bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sudo
pkgver=1.7.2_p5
_realver=${pkgver%_*}${pkgver#*_}
pkgrel=0
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="398f584e831bd75b3c0179e28368c2a3  sudo-1.7.2p5.tar.gz"