summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYurii Kolesnykov2018-12-12 13:18:05 +0100
committerYurii Kolesnykov2018-12-12 13:18:05 +0100
commit89b1b60f95b99c1fc8c9cef580e6daf4757af284 (patch)
treee51d0f91f4347399c386ce5dfde35cc5e2153b1d /PKGBUILD
parent59b61e9ad6741cc0d07a6e389223588b8227a686 (diff)
downloadaur-89b1b60f95b99c1fc8c9cef580e6daf4757af284.tar.gz
1.14.18-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0093e551ebf..81ecf9772ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=zypper
pkgver=1.14.18
-pkgrel=1
+pkgrel=2
pkgdesc="Command line software manager using libzypp"
arch=('i686' 'x86_64')
url="https://github.com/openSUSE/zypper"
@@ -18,12 +18,12 @@ sha256sums=('feb3ac9572ac40e456cecee34cdb69a70236c0242f23b9498d3f68326eacb624'
prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
patch -p1 -i $srcdir/make-ZyppCommon-cmake-module-includable.patch
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
mkdir -p build
cd build
cmake \
@@ -37,10 +37,10 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/build"
- DESTDIR="$pkgdir/" ninja install
+ cd "${pkgname}-${pkgver}/build"
+ DESTDIR="${pkgdir}/" ninja install
# hacky sbin symlink fix
- mv $pkgdir/usr/sbin/* $pkgdir/usr/bin/
- rmdir $pkgdir/usr/sbin
+ mv "${pkgdir}"/usr/sbin/* "${pkgdir}/usr/bin/"
+ rmdir "${pkgdir}/usr/sbin"
}