PKGBUILDs/core/keyutils/PKGBUILD

32 lines
835 B
Bash
Raw Normal View History

# $Id: PKGBUILD 133067 2011-07-27 11:57:16Z stephane $
2011-03-28 16:18:38 +00:00
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
2011-08-01 22:30:01 +00:00
# ALARM: Kevin Mihelich <kevin@plugapps.com>
2011-03-28 16:18:38 +00:00
# - commented out sed line, doesn't build otherwise
2011-03-28 16:32:09 +00:00
# - must build -j1, everything must build in order
2011-03-28 16:18:38 +00:00
plugrel=1
pkgname=keyutils
pkgver=1.5.2
2011-03-28 16:18:38 +00:00
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')
2011-03-28 16:18:38 +00:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
#sed -i "s|/lib64|/lib|g" Makefile
2011-03-28 16:32:09 +00:00
make -j1 CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
2011-03-28 16:18:38 +00:00
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2011-03-28 16:18:38 +00:00
}