mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
27 lines
885 B
Bash
27 lines
885 B
Bash
|
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
||
|
|
||
|
pkgname=sudo
|
||
|
pkgver=1.7.2
|
||
|
pkgrel=1
|
||
|
pkgdesc="Give certain users the ability to run some commands as root"
|
||
|
arch=(arm)
|
||
|
url="http://www.sudo.ws/sudo/"
|
||
|
license=('custom')
|
||
|
depends=('glibc' 'pam')
|
||
|
backup=('etc/sudoers' 'etc/pam.d/sudo')
|
||
|
source=(ftp://ftp.sudo.ws/pub/sudo/$pkgname-$pkgver.tar.gz
|
||
|
sudo.pam)
|
||
|
options=('!libtool' '!makeflags')
|
||
|
md5sums=('9caba8719c3e0f163880a05f02a48249'
|
||
|
'4e7ad4ec8f2fe6a40e12bcb2c0b256e3')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/$pkgname-$pkgver || return 1
|
||
|
./configure --prefix=/usr --with-pam --libexecdir=/usr/lib \
|
||
|
--with-env-editor --with-all-insults --with-logfac=auth || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR=$pkgdir install || return 1
|
||
|
install -Dm644 $srcdir/sudo.pam $pkgdir/etc/pam.d/sudo || return 1
|
||
|
install -Dm644 LICENSE $pkgdir/usr/share/licenses/sudo/LICENSE || return 1
|
||
|
}
|