extra/keyutils to core/keyutils 1.5.2-1

This commit is contained in:
Kevin Mihelich 2011-08-06 11:41:29 -04:00
parent a7bcaf7720
commit 927eea2baa

View file

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