blob: 9a34d5a43c24be4b10cfe2a25b0181a90aa719c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Márcio Silva <coadde@parabola.nu>
# based of keyutils
_pkgname=keyutils
pkgname=keyutils-static
pkgver=1.5.9
pkgrel=1
pkgdesc="Linux Key Management Utilities (static libraries only)"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.kernel.org"
license=('GPL2' 'LGPL2.1')
depends=('keyutils')
options=('staticlibs')
source=(http://people.redhat.com/~dhowells/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2)
md5sums=('7f8ac985c45086b5fbcd12cecd23cf07')
build() {
cd ${_pkgname}-${pkgver}
make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
package() {
cd ${_pkgname}-${pkgver}
make DESTDIR="${pkgdir}" LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' install
# remove conflicting files
rm -vr ${pkgdir}/{{,s}bin,etc,usr/{include,share}}
rm -v ${pkgdir}/usr/lib/lib*.so*
}
|