[arch-commits] Commit in skia-sharp/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Fri Dec 22 20:08:44 UTC 2017


    Date: Friday, December 22, 2017 @ 20:08:44
  Author: alucryd
Revision: 275548

upgpkg: skia-sharp 1.59.3-1

Modified:
  skia-sharp/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-22 19:35:18 UTC (rev 275547)
+++ PKGBUILD	2017-12-22 20:08:44 UTC (rev 275548)
@@ -1,12 +1,10 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=skia-sharp
-pkgver=1.59.2
+pkgver=1.59.3
 _major=59
-_minor=2
+_minor=3
 _release=0
-_depot_tools_commit='372e0fd'
-_skia_commit='3ddc29e'
 pkgrel=1
 pkgdesc='The Skia 2D Graphics library from Google exposed to .NET languages and runtimes across the board'
 arch=('x86_64')
@@ -17,10 +15,12 @@
          'libfreetype.so')
 makedepends=('clang' 'git' 'python2')
 provides=('libSkiaSharp.so')
+_depot_tools_commit='372e0fd'
+_skia_commit='3ddc29e'
 source=("skia-sharp-${pkgver}.tar.gz::https://github.com/mono/SkiaSharp/archive/v${pkgver}.tar.gz"
         "git+https://chromium.googlesource.com/chromium/tools/depot_tools#commit=${_depot_tools_commit}"
         "git+https://github.com/mono/skia.git#commit=${_skia_commit}")
-sha256sums=('42698c702fd6480f459cebd7b088964c87d226c0ca6bcaac1cd8d4627dc1337d'
+sha256sums=('9d9391444ab091ed97800b29ff0d0c3453c3417ae1a123e1bb372e31614e7756'
             'SKIP'
             'SKIP')
 
@@ -39,12 +39,10 @@
 build(){
   pushd SkiaSharp-${pkgver}/externals/skia
 
-  [[ $CARCH == 'i686' ]] && export ARCH='x86'
-  [[ $CARCH == 'x86_64' ]] && export ARCH='x64'
+  export ARCH='x64'
   export PATH="${srcdir}/depot_tools:$PATH"
   export VERSION="1.${_major}.${_minor}.${_release}"
   export SUPPORT_GPU='0'
-  export PYTHON='/usr/bin/pyton2'
 
   CFLAGS="$CFLAGS -DSKIA_C_DLL -Wno-cast-qual -Wno-unused-template -Wno-zero-as-null-pointer-constant"
   LDFLAGS="$LDFLAGS -lfreetype -ljpeg -lpng16 -lwebp -lwebpdemux -lwebpmux -lz"
@@ -74,11 +72,10 @@
 package() {
   cd SkiaSharp-${pkgver}/native-builds/libSkiaSharp_linux
 
-  install -dm 755 "${pkgdir}"/usr/{lib,share/licenses/skia-sharp}
-  install -m 755  bin/$ARCH/libSkiaSharp.so.${_major}.${_minor}.${_release} -t "${pkgdir}"/usr/lib/
+  install -Dm 755  bin/$ARCH/libSkiaSharp.so.${_major}.${_minor}.${_release} -t "${pkgdir}"/usr/lib/
   ln -s libSkiaSharp.so.${_major}.${_minor}.${_release} "${pkgdir}"/usr/lib/libSkiaSharp.so.${_major}
   ln -s libSkiaSharp.so.${_major} "${pkgdir}"/usr/lib/libSkiaSharp.so
-  install -m 644 ../../LICENSE.md -t "${pkgdir}"/usr/share/licenses/skia-sharp/
+  install -Dm 644 ../../LICENSE.md -t "${pkgdir}"/usr/share/licenses/skia-sharp/
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list