[arch-commits] Commit in flatpak-xdg-utils/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Fri Jul 9 14:10:36 UTC 2021


    Date: Friday, July 9, 2021 @ 14:10:35
  Author: foxboron
Revision: 976223

upgpkg: flatpak-xdg-utils 1.0.4-4

Added:
  flatpak-xdg-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-09 14:10:35 UTC (rev 976223)
@@ -0,0 +1,28 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Anthony Rabbito <hello at anthonyrabbito.com>
+
+pkgname=flatpak-xdg-utils
+pkgver=1.0.4
+pkgrel=4
+pkgdesc="Utilities for containerized apps to launch programs outside the container"
+arch=('i686' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
+url="https://github.com/flatpak/flatpak-xdg-utils"
+license=('GPL')
+optdepends=('flatpak: interface support' 'flatpak-builder: interface support for building flatpaks')
+makedepends=('ninja' 'meson')
+source=("https://github.com/flatpak/flatpak-xdg-utils/releases/download/${pkgver}/flatpak-xdg-utils-${pkgver}.tar.xz")
+sha256sums=('3ae9278ec0ef301b80032fcb95415ea95d5f439fbde1373e06ba41668dbae9e1')
+
+build() {
+  meson --prefix /usr \
+    --buildtype=plain \
+    --bindir=/usr/lib/${pkgname} \
+    "$srcdir/flatpak-xdg-utils-${pkgver}" build
+  ninja -Cbuild
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -Cbuild install
+  install -dm755 "$pkgdir/usr/bin"
+  ln -s "/usr/lib/${pkgname}/flatpak-spawn" "$pkgdir/usr/bin/"
+}




More information about the arch-commits mailing list