mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 19:36:48 +02:00
32 lines
995 B
Text
32 lines
995 B
Text
# Contributor: Jordan Christiansen <xordspar0@gmail.com>
|
|
# Maintainer: Jordan Christiansen <xordspar0@gmail.com>
|
|
pkgname=flatpak-xdg-utils
|
|
pkgver=1.0.6
|
|
pkgrel=0
|
|
pkgdesc="Simple portal-based commandline tools for use inside flatpak sandboxes"
|
|
url="https://github.com/flatpak/flatpak-xdg-utils"
|
|
arch="all"
|
|
license="LGPL-2.1-only"
|
|
makedepends="meson glib-dev"
|
|
checkdepends="dbus"
|
|
source="https://github.com/flatpak/flatpak-xdg-utils/releases/download/$pkgver/flatpak-xdg-utils-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
mv $pkgdir/usr/bin/xdg-email $pkgdir/usr/bin/flatpak-xdg-email
|
|
mv $pkgdir/usr/bin/xdg-open $pkgdir/usr/bin/flatpak-xdg-open
|
|
}
|
|
|
|
sha512sums="
|
|
6407d76021e08fe181a3e5c2e0f2868aa2185c3e83115d0d87550a6c294a4c131a98e80e0d9e73d874ac0afe8375338935e213686ca7124e42a80b64ada2496f flatpak-xdg-utils-1.0.6.tar.xz
|
|
"
|