PKGBUILDs/core/keyutils/PKGBUILD
2011-08-06 11:41:29 -04:00

32 lines
835 B
Bash

# $Id: PKGBUILD 133067 2011-07-27 11:57:16Z stephane $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# ALARM: Kevin Mihelich <kevin@plugapps.com>
# - commented out sed line, doesn't build otherwise
# - must build -j1, everything must build in order
plugrel=1
pkgname=keyutils
pkgver=1.5.2
pkgrel=1
pkgdesc="Linux Key Management Utilities"
arch=(i686 x86_64)
url="http://www.kernel.org"
license=('GPL2' 'LGPL2.1')
depends=('glibc' 'sh')
backup=(etc/request-key.conf)
source=(http://people.redhat.com/~dhowells/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('19811ee31f683058a9aae3e6a3a23a7f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
#sed -i "s|/lib64|/lib|g" Makefile
make -j1 CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}