aboutsummaryrefslogblamecommitdiffstats
path: root/main/sudo/APKBUILD
blob: 8be3e023fab549f2e87e14804ea14ad7ae450cd4 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
               




                                         
        

                                                                     
                 
                    
        
                                                             


                          
                                       







                                             



                                       
                                                      

 
                                                               
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sudo
pkgver=1.7.4_p4
if [ "${pkgver%_*}" != "$pkgver" ]; then
	_realver=${pkgver%_*}${pkgver#*_}
else
	_realver=$pkgver
fi
pkgrel=0
pkgdesc="Give certain users the ability to run some commands as root"
url="http://www.sudo.ws/sudo/"
arch="x86 x86_64"
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="55d9906535d70a1de347cd3d3550ee87  sudo-1.7.4p4.tar.gz"