commit ed76f409128ff4f81c159f481744d4f4a4e587e7 Author: xhaa123 Date: Tue Nov 5 19:51:15 2024 +0800 libksba 1.6.6-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..f9a5e20 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# 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=libksba +pkgver=1.6.6 +pkgrel=1 +pkgdesc="Library for working with X.509 certificates, CMS data and related objects" +arch=('x86_64') +url="https://www.gnupg.org/related_software/libksba/" +license=('GPL-2.0-only' 'GPL-3.0-only' 'LGPL-3.0-only') +depends=('bash' 'libgpg-error' 'glibc') +source=(https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=(5dec033d211559338838c0c4957c73dfdc3ee86f73977d6279640c9cd08ce6a4) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}