summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYurii Kolesnykov2018-12-12 13:15:57 +0100
committerYurii Kolesnykov2018-12-12 13:15:57 +0100
commitf2f8245cf502fae57f0da2a711b3a0d9065a28fd (patch)
tree1d826f729c52ae0ba0aecc35a7e4d15ff22546c6
parent8369428e5f29e52931c5b282cf3844ac808b0f90 (diff)
downloadaur-f2f8245cf502fae57f0da2a711b3a0d9065a28fd.tar.gz
17.10.2-2
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD18
2 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5439db038a8..519f66baae9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = libzypp
pkgdesc = Package, Patch, Pattern, and Product Management
pkgver = 17.10.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/openSUSE/libzypp
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 9128e96d93b..de50e661ab5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libzypp
pkgver=17.10.2
-pkgrel=1
+pkgrel=2
pkgdesc="Package, Patch, Pattern, and Product Management"
arch=('i686' 'x86_64')
url="https://github.com/openSUSE/libzypp"
@@ -15,7 +15,7 @@ source=("https://github.com/openSUSE/libzypp/archive/${pkgver}.tar.gz")
md5sums=('a05a6d54ae2df9eede3a61fadf5a7ba3')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
mkdir -p build
cd build
cmake \
@@ -30,15 +30,15 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/build"
- DESTDIR="$pkgdir/" ninja install
+ cd "${pkgname}-${pkgver}/build"
+ DESTDIR="${pkgdir}/" ninja install
# cmake fix (see GH#28)
- mkdir -p $pkgdir/usr/lib/cmake/Zypp
- mv $pkgdir/usr/share/cmake/Modules/FindZypp.cmake $pkgdir/usr/lib/cmake/Zypp/ZyppConfig.cmake
- mv $pkgdir/usr/share/cmake/Modules/ZyppCommon.cmake $pkgdir/usr/lib/cmake/Zypp/ZyppCommon.cmake
+ mkdir -p "${pkgdir}/usr/lib/cmake/Zypp"
+ mv "${pkgdir}/usr/share/cmake/Modules/FindZypp.cmake" "${pkgdir}/usr/lib/cmake/Zypp/ZyppConfig.cmake"
+ mv "${pkgdir}/usr/share/cmake/Modules/ZyppCommon.cmake" "${pkgdir}/usr/lib/cmake/Zypp/ZyppCommon.cmake"
# hacky lib64 symlink fix
- mv $pkgdir/usr/lib64/* $pkgdir/usr/lib/
- rmdir $pkgdir/usr/lib64
+ mv "${pkgdir}"/usr/lib64/* "${pkgdir}/usr/lib/"
+ rmdir "${pkgdir}/usr/lib64"
}