summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYurii Kolesnykov2018-12-12 12:49:35 +0100
committerYurii Kolesnykov2018-12-12 12:49:35 +0100
commit8369428e5f29e52931c5b282cf3844ac808b0f90 (patch)
treee62721a584c3c43117d81d55c62f7ee557a8c2be
parent108d06520da6dd9d6ee7989caee11e0dc70c0e8b (diff)
downloadaur-8369428e5f29e52931c5b282cf3844ac808b0f90.tar.gz
17.10.2
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD25
2 files changed, 19 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3e1cc1ac005..5439db038a8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = libzypp
pkgdesc = Package, Patch, Pattern, and Product Management
- pkgver = 17.10.1
+ pkgver = 17.10.2
pkgrel = 1
url = https://github.com/openSUSE/libzypp
arch = i686
@@ -8,6 +8,7 @@ pkgbase = libzypp
license = GPL
makedepends = git
makedepends = cmake
+ makedepends = ninja
makedepends = boost
makedepends = dejagnu
makedepends = graphviz
@@ -17,13 +18,13 @@ pkgbase = libzypp
makedepends = rpm-org
makedepends = libproxy
makedepends = asciidoc
- depends = libsolv
+ depends = libsolv-git
depends = openssl
depends = curl
depends = libsystemd
provides = libzypp
- source = https://github.com/openSUSE/libzypp/archive/17.10.1.tar.gz
- md5sums = 3f9bee95c62b82fcf68a009ed9716a90
+ source = https://github.com/openSUSE/libzypp/archive/17.10.2.tar.gz
+ md5sums = a05a6d54ae2df9eede3a61fadf5a7ba3
pkgname = libzypp
diff --git a/PKGBUILD b/PKGBUILD
index badb7b52b70..9128e96d93b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,37 @@
# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
pkgname=libzypp
-pkgver=17.10.1
+pkgver=17.10.2
pkgrel=1
pkgdesc="Package, Patch, Pattern, and Product Management"
arch=('i686' 'x86_64')
url="https://github.com/openSUSE/libzypp"
license=('GPL')
-depends=('libsolv' 'openssl' 'curl' 'libsystemd')
-makedepends=('git' 'cmake' 'boost' 'dejagnu' 'graphviz'
- 'libxml2' 'expat' 'gnupg' 'rpm-org' 'libproxy'
- 'asciidoc')
+depends=('libsolv-git' 'openssl' 'curl' 'libsystemd')
+makedepends=('git' 'cmake' 'ninja' 'boost' 'dejagnu' 'graphviz'
+ 'libxml2' 'expat' 'gnupg' 'rpm-org' 'libproxy' 'asciidoc')
provides=('libzypp')
source=("https://github.com/openSUSE/libzypp/archive/${pkgver}.tar.gz")
-md5sums=('3f9bee95c62b82fcf68a009ed9716a90')
+md5sums=('a05a6d54ae2df9eede3a61fadf5a7ba3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- cmake -D CMAKE_INSTALL_PREFIX=/usr \
+ mkdir -p build
+ cd build
+ cmake \
+ -G Ninja \
+ -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_SKIP_RPATH=1 \
-D DISABLE_AUTODOCS=1 \
-D DISABLE_LIBPROXY=0 \
- .
- make
+ ..
+ ninja
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="$pkgdir/" install
+ cd "${srcdir}/${pkgname}-${pkgver}/build"
+ DESTDIR="$pkgdir/" ninja install
# cmake fix (see GH#28)
mkdir -p $pkgdir/usr/lib/cmake/Zypp