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

Felix Yan felixonmars at gemini.archlinux.org
Mon Mar 28 23:43:22 UTC 2022


    Date: Monday, March 28, 2022 @ 23:43:22
  Author: felixonmars
Revision: 440829

archrelease: copy trunk to testing-x86_64

Added:
  expat/repos/testing-x86_64/
  expat/repos/testing-x86_64/PKGBUILD
    (from rev 440828, expat/trunk/PKGBUILD)

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

Copied: expat/repos/testing-x86_64/PKGBUILD (from rev 440828, expat/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-03-28 23:43:22 UTC (rev 440829)
@@ -0,0 +1,41 @@
+# 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.8
+pkgrel=1
+pkgdesc="An XML parser library"
+arch=(x86_64)
+url="https://libexpat.github.io/"
+license=(MIT)
+depends=(glibc)
+makedepends=(cmake)
+provides=(libexpat.so)
+options=(debug)
+source=("https://github.com/libexpat/libexpat/releases/download/R_${pkgver//./_}/${pkgname}-${pkgver}.tar.bz2"{,.asc})
+sha512sums=('46cc9d725f359b77681a2875bfefa15ceee50eb9513f6577607c0c5833dfa4241565c74f26b84b38d802c3cd8c32f00204fd74272bcecbd21229425764eef86c'
+            'SKIP')
+b2sums=('a829bd94d2cc9b305874ae2539dd4388ea99eaed21d2da17bbd99a1e7735b0f7cb910d096f72c71b128dcb8ffdff9021109e7ff5e562d8cefad228fd8d66f897'
+        '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