[arch-commits] Commit in poco/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Jul 4 20:05:20 UTC 2021
Date: Sunday, July 4, 2021 @ 20:05:19
Author: svenstaro
Revision: 972182
upgpkg: poco 1.11.0-1
Modified:
poco/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-04 19:18:35 UTC (rev 972181)
+++ PKGBUILD 2021-07-04 20:05:19 UTC (rev 972182)
@@ -5,7 +5,7 @@
# Contributor: Christopher Reimer <vdr4arch at creimer dot net>
pkgname=poco
-pkgver=1.10.1
+pkgver=1.11.0
_pkgver=${pkgver/_/}
pkgrel=1
pkgdesc="C++ class libraries for network-centric, portable applications, complete edition with debug libraries"
@@ -13,23 +13,24 @@
url="http://www.pocoproject.org/"
license=('custom:boost')
depends=('mariadb-libs' 'openssl' 'unixodbc')
-makedepends=('cmake')
+makedepends=('cmake' 'ninja')
source=("https://pocoproject.org/releases/poco-${_pkgver%p?}/poco-${_pkgver}-all.tar.bz2")
-sha256sums=('2cde4b50778013ab3b7a522aa59bccaa7e85a8ccfc654a354c4d9611b6ce1758')
+sha256sums=('b08cf73926fa92a6c8f3c712e8fb217d5d0c2fa5248ec0281f251fe1e925d2f1')
build() {
- cd "${srcdir}/poco-${_pkgver}-all"
- mkdir -p build
- cd build
+ cd "poco-${_pkgver}-all"
+
cmake \
+ -GNinja \
+ -Bbuild \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- ..
- make
+ -DCMAKE_BUILD_TYPE=Release
+ ninja -C build
}
package() {
- cd "${srcdir}/poco-${_pkgver}-all"/build
- make DESTDIR="${pkgdir}" install
- install -Dm644 '../LICENSE' "${pkgdir}/usr/share/licenses/poco/LICENSE"
+ cd "poco-${_pkgver}-all"
+
+ DESTDIR="${pkgdir}" ninja -C build install
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/poco/LICENSE"
}
More information about the arch-commits
mailing list