[arch-commits] Commit in apache-orc/trunk (PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Sat Oct 16 20:12:35 UTC 2021


    Date: Saturday, October 16, 2021 @ 20:12:35
  Author: archange
Revision: 1030585

upgpkg: apache-orc 1.7.0-1

Modified:
  apache-orc/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-16 19:59:38 UTC (rev 1030584)
+++ PKGBUILD	2021-10-16 20:12:35 UTC (rev 1030585)
@@ -1,8 +1,9 @@
 # Maintainer: Bruno Pagani <archange at archlinux.org>
 # Contributor: Guillaume Horel <guillaume.horel at gmail.com>
 
-pkgname=apache-orc
-pkgver=1.6.9
+_pkg=orc
+pkgname=apache-${_pkg}
+pkgver=1.7.0
 pkgrel=1
 pkgdesc="Columnar storage for Hadoop workloads."
 arch=(x86_64)
@@ -12,20 +13,18 @@
 makedepends=(cmake)
 checkdepends=(gtest)
 options=(staticlibs)
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/apache/orc/archive/rel/release-$pkgver.tar.gz
-        ${pkgname}-dynamic-linking.patch::https://github.com/apache/orc/commit/ca007d57cb6b399671bc71328f29d040032575df.patch)
-sha256sums=('2b79f1152454a38abd7b361b407f65689e275f1fb28d4293892e42fbebcc0a9d'
-            'b79ff208beecaa52cf0e5f7f3bab2ce637ea642cb087e1d9c72384d21dbf13a1')
+source=(https://downloads.apache.org/${_pkg}/${_pkg}-${pkgver}/${_pkg}-${pkgver}.tar.gz{,.asc})
+sha256sums=(cab8cea768b391b173ad5ba839baf20ba9abc42570e3d661783c9c52e0430ab3 SKIP)
+validpgpkeys=(F28C9C925C188C35E345614DEDA00CE834F0FC5C) # Dongjoon Hyun (CODE SIGNING KEY) <dongjoon at apache.org>
 
 prepare(){
-  cd orc-rel-release-${pkgver}
-  patch -Np1 -i ../${pkgname}-dynamic-linking.patch
+  cd ${_pkg}-${pkgver}
   sed -i "s|ByteSize|ByteSizeLong|g" c++/test/CreateTestFiles.cc
   sed -i "s|ByteSize|ByteSizeLong|g" c++/test/TestBufferedOutputStream.cc 
 }
 
 build(){
-  cmake -B build -S orc-rel-release-${pkgver} \
+  cmake -B build -S ${_pkg}-${pkgver} \
     -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC" \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX="/usr" \



More information about the arch-commits mailing list