Date: Monday, May 1, 2023 @ 16:47:37
  Author: arojas
Revision: 476144

archrelease: copy trunk to staging-x86_64

Added:
  botan2/repos/
  botan2/repos/staging-x86_64/
  botan2/repos/staging-x86_64/PKGBUILD
    (from rev 476143, botan2/trunk/PKGBUILD)
  botan2/repos/staging-x86_64/keys/

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: botan2/repos/staging-x86_64/PKGBUILD (from rev 476143, 
botan2/trunk/PKGBUILD)
===================================================================
--- repos/staging-x86_64/PKGBUILD                               (rev 0)
+++ repos/staging-x86_64/PKGBUILD       2023-05-01 16:47:37 UTC (rev 476144)
@@ -0,0 +1,48 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Alexander F. Rødseth <[email protected]>
+# Contributor: Angel Velasquez <[email protected]>
+# Contributor: Douglas Soares de Andrade <[email protected]>
+# Contributor: d'Ronin <[email protected]>
+# Contributor: Hexchain Tong <[email protected]>
+# Contributor: Jack Lloyd <[email protected]>
+
+pkgname=botan2
+pkgver=2.19.3
+pkgrel=1
+pkgdesc='Crypto library written in C++ (legacy version)'
+arch=(x86_64)
+url='https://botan.randombit.net/'
+license=(BSD)
+depends=(xz sqlite)
+makedepends=(python boost)
+optdepends=('python: for using botan2.py')
+source=(https://botan.randombit.net/releases/Botan-${pkgver}.tar.xz{,.asc})
+sha256sums=('dae047f399c5a47f087db5d3d9d9e8f11ae4985d14c928d71da1aff801802d55'
+            'SKIP')
+validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') # Botan Distribution 
Key
+
+build() {
+  cd Botan-$pkgver
+
+  ./configure.py \
+    --prefix=/usr \
+    --with-bzip \
+    --with-lzma \
+    --with-zlib \
+    --with-boost \
+    --with-sqlite3 \
+    --with-os-feature=getrandom \
+    --build-targets=shared,tests
+  make
+}
+
+check() {
+  cd Botan-$pkgver
+
+  LD_LIBRARY_PATH="$PWD" ./botan-test
+}
+
+package() {
+  DESTDIR="$pkgdir" make -C Botan-$pkgver install
+  install -Dm644 Botan-$pkgver/license.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to