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

Maxime Gauduin alucryd at archlinux.org
Tue May 14 07:23:52 UTC 2019


    Date: Tuesday, May 14, 2019 @ 07:23:51
  Author: alucryd
Revision: 467202

upgpkg: lib32-orc 0.4.29-1

Modified:
  lib32-orc/trunk/PKGBUILD

----------+
 PKGBUILD |   48 +++++++++++++++++++++---------------------------
 1 file changed, 21 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-14 07:23:51 UTC (rev 467201)
+++ PKGBUILD	2019-05-14 07:23:51 UTC (rev 467202)
@@ -1,43 +1,37 @@
 # Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 
 pkgname=lib32-orc
-pkgver=0.4.28
+pkgver=0.4.29
 pkgrel=1
 pkgdesc='The Oild Runtime Compiler'
-url='https://cgit.freedesktop.org/gstreamer/orc'
-arch=('x86_64')
-license=('custom')
-url='https://code.entropywave.com/projects/orc/'
-depends=('lib32-glibc' 'orc')
-makedepends=('gtk-doc' 'meson' 'valgrind-multilib')
-source=("https://gstreamer.freedesktop.org/data/src/orc/orc-${pkgver}.tar.xz"{,.asc})
-validpgpkeys=('D78BC13E3280CB8AFDE278EA032D3D833A0BA62A') # Edward Hervey
-sha256sums=('bfcd7c6563b05672386c4eedfc4c0d4a0a12b4b4775b74ec6deb88fc2bcd83ce'
-            'SKIP')
+arch=(x86_64)
+url=https://gstreamer.freedesktop.org/modules/orc.html
+license=(custom)
+depends=(
+  lib32-glibc
+  orc
+)
+makedepends=(
+  git
+  gtk-doc
+  meson
+  valgrind-multilib
+)
+source=(git+https://gitlab.freedesktop.org/gstreamer/orc.git#tag=${pkgver})
+sha256sums=(SKIP)
 
-prepare() {
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build
-}
-
 build() {
-  cd build
-
   export CC='gcc -m32'
   export CXX='g++ -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
 
-  arch-meson ../orc-${pkgver} \
-    --libdir='/usr/lib32'
-  ninja
+  arch-meson orc build \
+    --libdir=/usr/lib32
+  ninja -C build
 }
 
 package() {
-  cd build
-
-  DESTDIR="$pkgdir" ninja install
+  DESTDIR="$pkgdir" ninja -C build install
   rm -rf "${pkgdir}"/usr/{bin,include,share}
 
   install -dm 755 "${pkgdir}"/usr/share/licenses



More information about the arch-commits mailing list