upgpkg: libversion 3.0.2-1

primary
George Rawlinson 2 months ago
parent a6a0600f27
commit 9a5534a4e2
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
  1. 15
      libversion/PKGBUILD

@ -2,8 +2,8 @@
# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi dot net>
pkgname=libversion
pkgver=3.0.1
pkgrel=2
pkgver=3.0.2
pkgrel=1
pkgdesc='Advanced version string comparison library'
url='https://github.com/repology/libversion'
license=('MIT')
@ -11,22 +11,21 @@ arch=('x86_64')
depends=('gcc-libs')
makedepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha512sums=('b7b10d2d71eba53972e51cf25b32ef429f703efc83810e4f480db34216bd0dc43382a492af947f6f3da65e1a3b939c9a61fe90f9d1d3b1737a5ba7615934d5b8')
b2sums=('d65f4d415e5c17abf49b641bb7ecee08ccd07c747bfddb43c6d0586a6d48bbb4e87b607f0812abb3da7c5696e928c79ebd1c0a00d7baaf5be75caffe7b18a2e7')
sha512sums=('65cc975690da8ba27563553014a49dde3d8f57331a30ee1b6b5a00c49b3b63a2df17ccb78a0e9f24fbf1369f59647ea253129c860ecd0da7cbd5406a0bdccd6a')
b2sums=('e345aea49dd9968ab2a39e4c8544b5be3249026eea0816f5da46cd1ad4a7f8ccf71566293befe8cfe58f55cac3534c8b8483f4e7ce9dd87bb40c0fab54ef0f2e')
prepare() {
build() {
cmake \
-B build \
-S "$pkgname-$pkgver" \
-B build \
-D CMAKE_INSTALL_PREFIX=/usr
}
build() {
cmake --build build
}
check() {
cd build
ctest --output-on-failure
}

Loading…
Cancel
Save