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

Balló György bgyorgy at archlinux.org
Sat May 1 21:30:43 UTC 2021


    Date: Saturday, May 1, 2021 @ 21:30:43
  Author: bgyorgy
Revision: 926052

upgpkg: ciano 0.2.4-3: Fix AppStream metadata file, add symlink for the binary

Modified:
  ciano/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-01 21:19:21 UTC (rev 926051)
+++ PKGBUILD	2021-05-01 21:30:43 UTC (rev 926052)
@@ -1,20 +1,21 @@
 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=ciano
+_id=com.github.robertsanseries.ciano
 pkgver=0.2.4
-pkgrel=2
-pkgdesc="Multimedia file converter focused on simplicity"
-arch=(x86_64)
-url="https://robertsanseries.github.io/ciano/"
-license=(GPL3)
-depends=(ffmpeg granite imagemagick)
-makedepends=(meson vala)
+pkgrel=3
+pkgdesc='Multimedia file converter focused on simplicity'
+arch=('x86_64')
+url='https://robertsanseries.github.io/ciano/'
+license=('GPL3')
+depends=('ffmpeg' 'granite' 'imagemagick')
+makedepends=('meson' 'vala')
 source=("https://github.com/robertsanseries/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz"
-        "0001-Handle-GIF-with-ImageMagick.patch"
-        "0001-Create-output-directory-if-not-exist.patch"
-        "0001-Use-standard-icon-names.patch"
-        "0001-Add-support-for-conversion-and-selection-of-OPUS-aud.patch"
-        "0001-Add-support-for-conversion-and-selection-of-WEBP-ima.patch")
+        '0001-Handle-GIF-with-ImageMagick.patch'
+        '0001-Create-output-directory-if-not-exist.patch'
+        '0001-Use-standard-icon-names.patch'
+        '0001-Add-support-for-conversion-and-selection-of-OPUS-aud.patch'
+        '0001-Add-support-for-conversion-and-selection-of-WEBP-ima.patch')
 sha256sums=('cdb7f77f10e4b7a64520d618472de97955ce897d26468055666291672db58754'
             '8b44b7df58f82d0ff38572b773724b6f42e085fc1a1aa098776c794eb117b49d'
             'f682329bc9cbed2d0605b31e1cc4915c9a7e188bb398fed88001e892f44c50bb'
@@ -37,17 +38,17 @@
   # Add support for more formats
   patch -Np1 -i ../0001-Add-support-for-conversion-and-selection-of-OPUS-aud.patch
   patch -Np1 -i ../0001-Add-support-for-conversion-and-selection-of-WEBP-ima.patch
+
+  # Fix metainfo file
+  sed -i "/<id>/a <launchable type=\"desktop-id\">$_id.desktop</launchable>" data/$_id.appdata.xml.in
 }
 
 build() {
   arch-meson $pkgname-$pkgver build
-  ninja -C build
+  meson compile -C build
 }
 
-check() {
-  meson test -C build
-}
-
 package() {
   DESTDIR="$pkgdir" meson install -C build
+  ln -s $_id "$pkgdir/usr/bin/$pkgname"
 }



More information about the arch-commits mailing list