diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 18 insertions, 30 deletions
@@ -1,8 +1,8 @@ pkgbase = zypper-git pkgdesc = World's most powerful command line package manager - pkgver = 1.14.41.18.g2d3baa94 + pkgver = 1.14.52.37.g01e16dc9 pkgrel = 1 - url = https://github.com/openSUSE/zypper + url = http://en.opensuse.org/Portal:Zypper arch = x86_64 license = GPL makedepends = asciidoc @@ -10,7 +10,6 @@ pkgbase = zypper-git makedepends = boost makedepends = cmake makedepends = git - makedepends = ninja depends = augeas depends = libzypp depends = perl @@ -25,4 +24,3 @@ pkgbase = zypper-git sha256sums = f5cdd85109c58d786f1124fa3cab1c5431a93a8d87a59117eac257c6e4698ae7 pkgname = zypper-git - @@ -2,11 +2,11 @@ _pkgname=zypper pkgname=${_pkgname}-git -pkgver=1.14.41.18.g2d3baa94 +pkgver=1.14.52.37.g01e16dc9 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,23 +20,13 @@ makedepends=( 'boost' 'cmake' 'git' - 'ninja' -) -provides=( - "${_pkgname}" - 'apt' -) -conflicts=( - "${_pkgname}" - 'apt' -) -source=( - "${pkgname}::git+https://github.com/openSUSE/${_pkgname}.git" - 'make-ZyppCommon-cmake-module-includable.patch') -sha256sums=( - 'SKIP' - 'f5cdd85109c58d786f1124fa3cab1c5431a93a8d87a59117eac257c6e4698ae7' ) +provides=("${_pkgname}" 'apt') +conflicts=("${provides[@]}") +source=("${pkgname}::git+https://github.com/openSUSE/${_pkgname}.git" + 'make-ZyppCommon-cmake-module-includable.patch') +sha256sums=('SKIP' + 'f5cdd85109c58d786f1124fa3cab1c5431a93a8d87a59117eac257c6e4698ae7') pkgver() { cd "${pkgname}" @@ -50,19 +40,19 @@ prepare() { build() { cmake \ - -B build \ - -S "${pkgname}" \ - -G Ninja \ - -D CMAKE_INSTALL_PREFIX=/usr \ - -D CMAKE_BUILD_TYPE=Release \ - -D LIB=lib \ - -D ZYPP_PREFIX=/usr \ + -B build \ + -S "${pkgname}" \ + -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() { - ARGS="-V" cmake --test build + ctest --test-dir build } package() { |