diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-06-21 14:53:57 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-21 11:06:50 -0300 |
commit | caa5174430c1381d3a16a098894c79e607ae1b59 (patch) | |
tree | e12ec2d40cf3c48e55debe33e177962ddeac0766 /testing | |
parent | 0d9436b77b668300b927bc838ab499fdb9be582a (diff) | |
download | aports-caa5174430c1381d3a16a098894c79e607ae1b59.tar.bz2 aports-caa5174430c1381d3a16a098894c79e607ae1b59.tar.xz |
testing/xdg-desktop-portal-gtk: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/xdg-desktop-portal-gtk/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/xdg-desktop-portal-gtk/APKBUILD b/testing/xdg-desktop-portal-gtk/APKBUILD new file mode 100644 index 0000000000..c70266a30f --- /dev/null +++ b/testing/xdg-desktop-portal-gtk/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=xdg-desktop-portal-gtk +pkgver=1.4.0 +pkgrel=0 +pkgdesc="Gtk implementation of xdg-desktop-portal" +url="https://github.com/flatpak/xdg-desktop-portal-gtk" +arch="all" +license="LGPL-2.1-or-later" +depends="xdg-desktop-portal" +makedepends="gtk+3.0-dev dbus-dev" +subpackages="$pkgname-lang" +source="https://github.com/flatpak/xdg-desktop-portal-gtk/releases/download/${pkgver}/xdg-desktop-portal-gtk-${pkgver}.tar.xz" + +prepare() { + default_prepare + + sed 's|/usr/bin/sh|/bin/sh|' \ + -i compile \ + -i missing \ + -i install-sh \ + -i depcomp \ + -i config.sub \ + -i config.guess +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="200fa490c486fbd61279cd6786b55b7ae85d88026d13b3d2d337d69d5d0c0f56babc9c0a8217b26e4771cd8d77c05871b9689e42b170a413083c4004d62db9ed xdg-desktop-portal-gtk-1.4.0.tar.xz" |