32 lines
898 B
Bash
32 lines
898 B
Bash
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||
|
# then please put 'unknown'.
|
||
|
|
||
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||
|
pkgname=keyutils
|
||
|
pkgver=1.6.3
|
||
|
pkgrel=1
|
||
|
pkgdesc="Linux Key Management Utilities"
|
||
|
arch=('x86_64')
|
||
|
url="https://www.kernel.org"
|
||
|
license=('GPL2' 'LGPL2.1')
|
||
|
depends=('glibc' 'bash')
|
||
|
backup=(etc/request-key.conf)
|
||
|
source=(https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.gz)
|
||
|
sha256sums=(a61d5706136ae4c05bd48f86186bcfdbd88dd8bd5107e3e195c924cfc1b39bb4)
|
||
|
|
||
|
build() {
|
||
|
cd ${pkgname}-${pkgver}
|
||
|
|
||
|
|
||
|
make
|
||
|
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd ${pkgname}-${pkgver}
|
||
|
|
||
|
make DESTDIR=${pkgdir} NO_ARLIB=1 LIBDIR=/usr/lib64 BINDIR=/usr/bin SBINDIR=/usr/sbin install
|
||
|
}
|