summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYurii Kolesnykov2022-05-18 23:08:56 +0300
committerYurii Kolesnykov2022-05-19 04:52:35 +0300
commitb92da4f3e1927bd3d7e7b2242938974f11c74b75 (patch)
tree9fa78706935fbc93b3b9cf4c1af206afb8cc3947 /PKGBUILD
parentca5e913469815beab45ce93b4baa84cc3cd51ba6 (diff)
downloadaur-zypper.tar.gz
1.14.52
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0d108298580..eb3f3e22771 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,11 +3,11 @@
# Contributor: Silvio Knizek <knizek@b1-systems.de>
pkgname=zypper
-pkgver=1.14.50
+pkgver=1.14.52
pkgrel=1
pkgdesc="World's most powerful command line package manager"
arch=('x86_64')
-url="https://github.com/openSUSE/${pkgname}"
+url='http://en.opensuse.org/Portal:Zypper'
license=('GPL')
depends=(
'augeas'
@@ -20,7 +20,6 @@ makedepends=(
'asciidoctor'
'boost'
'cmake'
- 'ninja'
)
provides=('apt')
conflicts=('apt')
@@ -28,7 +27,7 @@ source=(
"${pkgname}-${pkgver}.tar.gz::https://github.com/openSUSE/zypper/archive/${pkgver}.tar.gz"
'make-ZyppCommon-cmake-module-includable.patch'
)
-sha256sums=('6455d98926c03cdd490896c869f6c9f4f206d4d322ebd97e14ddc4f33c0a55fb'
+sha256sums=('8975f6009950835b750d4d50a21f2bdb53f46f0dc5440cb59b57c745f7317a05'
'f5cdd85109c58d786f1124fa3cab1c5431a93a8d87a59117eac257c6e4698ae7')
prepare() {
@@ -38,17 +37,21 @@ prepare() {
build() {
cmake \
- -B build \
- -S "${pkgname}-${pkgver}" \
- -G Ninja \
- -D CMAKE_INSTALL_PREFIX=/usr \
- -D CMAKE_BUILD_TYPE=Release \
- -D LIB=lib \
- -D ZYPP_PREFIX=/usr \
+ -B build \
+ -S "${pkgname}-${pkgver}" \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D LIB=lib \
+ -D ZYPP_PREFIX=/usr \
+ -D ENABLE_BUILD_TESTS=ON
cmake --build build
}
+check() {
+ ctest --test-dir build
+}
+
package() {
DESTDIR="${pkgdir}" cmake --install build