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

Jan Steffens heftig at archlinux.org
Thu Nov 22 22:43:20 UTC 2018


    Date: Thursday, November 22, 2018 @ 22:43:19
  Author: heftig
Revision: 340317

Update source, minor tweaks

Modified:
  orc/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-22 21:43:07 UTC (rev 340316)
+++ PKGBUILD	2018-11-22 22:43:19 UTC (rev 340317)
@@ -12,7 +12,7 @@
 depends=(glibc)
 makedepends=(valgrind git gtk-doc meson)
 _commit=31cb4bfc51de81b5c2569abdcff830b83c74499c  # tags/orc-0.4.28^0
-source=("git+https://anongit.freedesktop.org/git/gstreamer/orc#commit=$_commit")
+source=("git+https://gitlab.freedesktop.org/gstreamer/orc.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
@@ -21,22 +21,19 @@
 }
 
 prepare() {
-  mkdir build
   cd $pkgname
 }
 
 build() {
-  cd build
-  arch-meson ../$pkgname
-  ninja
+  arch-meson $pkgname build
+  ninja -C build
 }
 
 check() {
-  cd build
-  meson test
+  meson test -C build
 }
 
 package() {
-  DESTDIR="$pkgdir" ninja -C build install
-  install -Dm644 $pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  DESTDIR="$pkgdir" meson install -C build
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
 }



More information about the arch-commits mailing list