[arch-commits] Commit in flatpak-xdg-utils/repos (2 files)
Morten Linderud
foxboron at archlinux.org
Fri Jul 9 14:10:42 UTC 2021
Date: Friday, July 9, 2021 @ 14:10:42
Author: foxboron
Revision: 976224
archrelease: copy trunk to community-x86_64
Added:
flatpak-xdg-utils/repos/community-x86_64/
flatpak-xdg-utils/repos/community-x86_64/PKGBUILD
(from rev 976223, flatpak-xdg-utils/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: flatpak-xdg-utils/repos/community-x86_64/PKGBUILD (from rev 976223, flatpak-xdg-utils/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-07-09 14:10:42 UTC (rev 976224)
@@ -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