core/keyutils to 1.5.8-1

This commit is contained in:
WarheadsSE 2013-11-01 11:53:43 -04:00
parent 3d8598006d
commit 8351d2f5b4

View file

@ -6,31 +6,31 @@
# - must build -j1, everything must build in order
pkgname=keyutils
pkgver=1.5.5
pkgrel=5
pkgver=1.5.8
pkgrel=1
pkgdesc="Linux Key Management Utilities"
arch=(i686 x86_64)
arch=('i686' 'x86_64')
url="http://www.kernel.org"
license=('GPL2' 'LGPL2.1')
depends=('glibc' 'sh')
backup=(etc/request-key.conf)
backup=('etc/request-key.conf')
source=(http://people.redhat.com/~dhowells/${pkgname}/${pkgname}-${pkgver}.tar.bz2
request-key.conf.patch)
md5sums=('d759680b2f23c99af95938f5026f25fb'
request-kVey.conf.patch)
md5sums=('3c7f463039b83833c12a9414c2fcb389'
'89a819a7e4e90936b210c9d5020d296d')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd ${pkgname}-${pkgver}
# fix paths of binaries in /etc/request-key.conf
patch -Np0 -i ../request-key.conf.patch
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd ${pkgname}-${pkgver}
make -j1 CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" SBINDIR='/usr/bin' BINDIR='/usr/bin'
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" SBINDIR='/usr/bin' BINDIR='/usr/bin' LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' install
}