[arch-commits] Commit in expat/repos (staging-x86_64 staging-x86_64/PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sun Jan 16 16:49:24 UTC 2022


    Date: Sunday, January 16, 2022 @ 16:49:24
  Author: dvzrv
Revision: 434554

archrelease: copy trunk to staging-x86_64

Added:
  expat/repos/staging-x86_64/
  expat/repos/staging-x86_64/PKGBUILD
    (from rev 434553, expat/trunk/PKGBUILD)

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

Copied: expat/repos/staging-x86_64/PKGBUILD (from rev 434553, expat/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-01-16 16:49:24 UTC (rev 434554)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+
+pkgname=expat
+pkgver=2.4.3
+pkgrel=1
+pkgdesc="An XML parser library"
+arch=(x86_64)
+url="https://libexpat.github.io/"
+license=(MIT)
+depends=(glibc)
+makedepends=(cmake)
+provides=(libexpat.so)
+source=("https://github.com/libexpat/libexpat/releases/download/R_${pkgver//./_}/${pkgname}-${pkgver}.tar.bz2"{,.asc})
+sha512sums=('1a77580c10d8cd1eb2c9224697cb73cdad742c1b6cf716d987379d01bb1f66240c315c298f5295f120cf44445521ccb7cdd39db1e743f164b919245a35a9468e'
+            'SKIP')
+b2sums=('02e74fd8f2b169488da5d2e5a7f13ea242fd9a35ec44b968a755298748299d8bcf6eabcb843470aa7e6b9a7f30d6649834c18c52f89ef0286671499abc7d4f37'
+        'SKIP')
+validpgpkeys=(3176EF7DB2367F1FCA4F306B1F9B0E909AF37285) # Sebastian Pipping
+
+build() {
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=None \
+        -W no-dev \
+        -B build \
+        -S "$pkgname-$pkgver"
+  make VERBOSE=1 -C build
+}
+
+check() {
+  make VERBOSE=1 -C build test
+}
+
+package() {
+  make VERBOSE=1 DESTDIR="$pkgdir" -C build install
+  install -vDm 644 "$pkgname-$pkgver/COPYING" -t "${pkgdir}/usr/share/licenses/$pkgname/"
+  install -vDm 644 "$pkgname-$pkgver/"{AUTHORS,Changes,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}



More information about the arch-commits mailing list