[arch-commits] Commit in expat/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sun Jan 16 16:49:18 UTC 2022
Date: Sunday, January 16, 2022 @ 16:49:18
Author: dvzrv
Revision: 434553
upgpkg: expat 2.4.3-1: Upgrade to 2.4.3.
Simplify quoting in file.
Simplify calls to cmake/make.
Modified:
expat/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++-----------------
1 file changed, 13 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-16 16:11:00 UTC (rev 434552)
+++ PKGBUILD 2022-01-16 16:49:18 UTC (rev 434553)
@@ -4,41 +4,37 @@
# Contributor: Judd Vinet <jvinet at zeroflux.org>
pkgname=expat
-pkgver=2.4.2
+pkgver=2.4.3
pkgrel=1
-pkgdesc='An XML parser library'
-arch=('x86_64')
+pkgdesc="An XML parser library"
+arch=(x86_64)
url="https://libexpat.github.io/"
-license=('MIT')
-depends=('glibc')
-makedepends=('cmake')
-provides=('libexpat.so')
+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=('7d82835e9b7789650b1890bce36e09683d4ae77813449281d1b5ac71efe4a3b63a21c6d2818b94bd88c05679ebf1471138c45bae582397bc7d67f02fb9de6592'
+sha512sums=('1a77580c10d8cd1eb2c9224697cb73cdad742c1b6cf716d987379d01bb1f66240c315c298f5295f120cf44445521ccb7cdd39db1e743f164b919245a35a9468e'
'SKIP')
-b2sums=('1a8a331da0b2251dc316ce0d3a66d3e799929b54856475452845c854ff1c866147a4d1708d7a019e225b79ef6a65a0116688120d3ef74e6cd67d3bb71a1f03f8'
+b2sums=('02e74fd8f2b169488da5d2e5a7f13ea242fd9a35ec44b968a755298748299d8bcf6eabcb843470aa7e6b9a7f30d6649834c18c52f89ef0286671499abc7d4f37'
'SKIP')
validpgpkeys=(3176EF7DB2367F1FCA4F306B1F9B0E909AF37285) # Sebastian Pipping
build() {
- cd "$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE='None' \
+ -DCMAKE_BUILD_TYPE=None \
-W no-dev \
-B build \
- -S .
+ -S "$pkgname-$pkgver"
make VERBOSE=1 -C build
}
check() {
- cd "$pkgname-$pkgver"
make VERBOSE=1 -C build test
}
package() {
- cd "$pkgname-$pkgver"
make VERBOSE=1 DESTDIR="$pkgdir" -C build install
- install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname/"
- install -vDm 644 {AUTHORS,Changes,README.md} \
- -t "${pkgdir}/usr/share/doc/${pkgname}/"
+ 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