summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYurii Kolesnykov2018-12-12 13:33:05 +0100
committerYurii Kolesnykov2018-12-12 13:33:05 +0100
commit022a9bb5202d7d8dff1fc85bd531ce22ddbaf5c9 (patch)
tree84479bfd5954927a3b28290ef676ce41ae29a488 /PKGBUILD
parent89b1b60f95b99c1fc8c9cef580e6daf4757af284 (diff)
downloadaur-022a9bb5202d7d8dff1fc85bd531ce22ddbaf5c9.tar.gz
1.14.18-3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 81ecf9772ae..acb47e1cc68 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=zypper
pkgver=1.14.18
-pkgrel=2
+pkgrel=3
pkgdesc="Command line software manager using libzypp"
arch=('i686' 'x86_64')
url="https://github.com/openSUSE/zypper"
@@ -16,16 +16,14 @@ source=("https://github.com/openSUSE/zypper/archive/${pkgver}.tar.gz"
sha256sums=('feb3ac9572ac40e456cecee34cdb69a70236c0242f23b9498d3f68326eacb624'
'f5cdd85109c58d786f1124fa3cab1c5431a93a8d87a59117eac257c6e4698ae7')
-
prepare() {
cd "${pkgname}-${pkgver}"
- patch -p1 -i $srcdir/make-ZyppCommon-cmake-module-includable.patch
+ patch -p1 -i ../make-ZyppCommon-cmake-module-includable.patch
}
build() {
cd "${pkgname}-${pkgver}"
- mkdir -p build
- cd build
+ mkdir -p build && cd build
cmake \
-G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \