From 81ee1980feda43043eaebae2c596ae116a21f6e5 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 19 Feb 2012 23:15:25 +0000 Subject: Sun Feb 19 23:15:25 UTC 2012 --- core/sudo/PKGBUILD | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'core/sudo') diff --git a/core/sudo/PKGBUILD b/core/sudo/PKGBUILD index 024c5d1a4..ce9c7d00b 100644 --- a/core/sudo/PKGBUILD +++ b/core/sudo/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 148401 2012-01-31 11:16:55Z allan $ +# $Id: PKGBUILD 150627 2012-02-19 00:54:21Z allan $ # Maintainer: Allan McRae # Contributor: Tom Newsom pkgname=sudo -_ver=1.8.3p2 +_ver=1.8.4 pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}} -pkgrel=2 +pkgrel=1 pkgdesc="Give certain users the ability to run some commands as root" arch=('i686' 'x86_64') url="http://www.sudo.ws/sudo/" @@ -15,8 +15,8 @@ backup=('etc/sudoers' 'etc/pam.d/sudo') options=('!libtool' '!makeflags') source=(ftp://ftp.sudo.ws/pub/sudo/$pkgname-$_ver.tar.gz{,.sig} sudo.pam) -md5sums=('6d4282a1530c541f7900fa8dfcf2a882' - '07e3c5c79d78db50674d5ad17963d631' +md5sums=('5a54dde137618bbc1dd46bb0ef725d7d' + '5edb139753431bf0ccb5bd79bfae870e' '4e7ad4ec8f2fe6a40e12bcb2c0b256e3') build() { @@ -27,12 +27,14 @@ build() { make } +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + package() { cd "$srcdir/$pkgname-$_ver" - install -dm755 "$pkgdir/var/lib" - make DESTDIR="$pkgdir" install - chmod 755 $pkgdir/var/db install -Dm644 "$srcdir/sudo.pam" "$pkgdir/etc/pam.d/sudo" -- cgit v1.2.3-54-g00ecf