diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-12-06 12:42:05 +0100 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-12-06 13:07:45 +0100 |
commit | 49657020b1b8bb1f1ab0aa9d2eac69964a7738a9 (patch) | |
tree | a4f290f621bf610b5516ca7709033e4741e5a44e /community/xdg-desktop-portal-gtk/APKBUILD | |
parent | e0506bf825599c06dae0885e976b361148797699 (diff) | |
download | aports-49657020b1b8bb1f1ab0aa9d2eac69964a7738a9.tar.bz2 aports-49657020b1b8bb1f1ab0aa9d2eac69964a7738a9.tar.xz |
community/xdg-desktop-portal-gtk: move from testing
Diffstat (limited to 'community/xdg-desktop-portal-gtk/APKBUILD')
-rw-r--r-- | community/xdg-desktop-portal-gtk/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/community/xdg-desktop-portal-gtk/APKBUILD b/community/xdg-desktop-portal-gtk/APKBUILD new file mode 100644 index 0000000000..b50bbe06fc --- /dev/null +++ b/community/xdg-desktop-portal-gtk/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=xdg-desktop-portal-gtk +pkgver=1.5.1 +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 gnome-desktop-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="6d1497ae584d7acf954a38f7a39796d673972c0dde86af35d86fcc55d4402250f965232991adac73711e1bf5c5537cb41c7c75420bb3eb15a190ea4f37532083 xdg-desktop-portal-gtk-1.5.1.tar.xz" |