summaryrefslogtreecommitdiffstats
path: root/main/sudo/APKBUILD
blob: 75fd70f3c939f27ef1b6076dc5c120b5c81cad89 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sudo
pkgver=1.7.2
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-$pkgver.tar.gz"
subpackages="$pkgname-doc"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--with-env-editor \
		--without-pam \
		--without-skey \
		--without-offensive-insults \
		|| return 1
	make || return 1
	make -j1 DESTDIR="$pkgdir" install || return 1
}

md5sums="9caba8719c3e0f163880a05f02a48249  sudo-1.7.2.tar.gz"