commit 1854f062748e82c3cd26ca5230e65c39aa1dac92 Author: xhaa123 Date: Sat May 4 15:37:36 2024 +0800 keyutils 1.6.3-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..e77aed1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# 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 +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 +}