PKGBUILDs/extra/keyutils/PKGBUILD

32 lines
824 B
Bash
Raw Normal View History

2011-03-28 16:18:38 +00:00
# $Id: PKGBUILD 116950 2011-03-26 15:07:29Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# PlugApps: Kevin Mihelich <kevin@plugapps.com>
# - 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.4
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)
build() {
cd "$srcdir/$pkgname-$pkgver"
#sed -i -e '/CFLAGS/s|:= -g -O2|+=|' 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
}
md5sums=('e168c1bdaf5aa93c2cbf8a5e7f8ef27b')