upgpkg: libversion 3.0.2-1
This commit is contained in:
parent
a6a0600f27
commit
9a5534a4e2
1 changed files with 10 additions and 11 deletions
|
@ -2,8 +2,8 @@
|
||||||
# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi dot net>
|
# Contributor: KokaKiwi <kokakiwi+aur at kokakiwi dot net>
|
||||||
|
|
||||||
pkgname=libversion
|
pkgname=libversion
|
||||||
pkgver=3.0.1
|
pkgver=3.0.2
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc='Advanced version string comparison library'
|
pkgdesc='Advanced version string comparison library'
|
||||||
url='https://github.com/repology/libversion'
|
url='https://github.com/repology/libversion'
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
|
@ -11,22 +11,21 @@ arch=('x86_64')
|
||||||
depends=('gcc-libs')
|
depends=('gcc-libs')
|
||||||
makedepends=('cmake')
|
makedepends=('cmake')
|
||||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
|
||||||
sha512sums=('b7b10d2d71eba53972e51cf25b32ef429f703efc83810e4f480db34216bd0dc43382a492af947f6f3da65e1a3b939c9a61fe90f9d1d3b1737a5ba7615934d5b8')
|
sha512sums=('65cc975690da8ba27563553014a49dde3d8f57331a30ee1b6b5a00c49b3b63a2df17ccb78a0e9f24fbf1369f59647ea253129c860ecd0da7cbd5406a0bdccd6a')
|
||||||
b2sums=('d65f4d415e5c17abf49b641bb7ecee08ccd07c747bfddb43c6d0586a6d48bbb4e87b607f0812abb3da7c5696e928c79ebd1c0a00d7baaf5be75caffe7b18a2e7')
|
b2sums=('e345aea49dd9968ab2a39e4c8544b5be3249026eea0816f5da46cd1ad4a7f8ccf71566293befe8cfe58f55cac3534c8b8483f4e7ce9dd87bb40c0fab54ef0f2e')
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cmake \
|
|
||||||
-B build \
|
|
||||||
-S "$pkgname-$pkgver" \
|
|
||||||
-D CMAKE_INSTALL_PREFIX=/usr
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
cmake \
|
||||||
|
-S "$pkgname-$pkgver" \
|
||||||
|
-B build \
|
||||||
|
-D CMAKE_INSTALL_PREFIX=/usr
|
||||||
|
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
ctest --output-on-failure
|
ctest --output-on-failure
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue