aboutsummaryrefslogtreecommitdiffstats
path: root/community/flatpak/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-25 22:01:35 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 15:09:27 +0000
commit484cd1fdced387757bccd1166cebafb16964cefc (patch)
tree11ae0d7ad56069c622910b9d4381338ef6dfa35e /community/flatpak/APKBUILD
parent6792e5209fbbffd4c6c4478b765596cd1602133d (diff)
downloadaports-484cd1fdced387757bccd1166cebafb16964cefc.tar.gz
aports-484cd1fdced387757bccd1166cebafb16964cefc.tar.bz2
aports-484cd1fdced387757bccd1166cebafb16964cefc.tar.xz
community/flatpak: modernize
Diffstat (limited to 'community/flatpak/APKBUILD')
-rw-r--r--community/flatpak/APKBUILD21
1 files changed, 7 insertions, 14 deletions
diff --git a/community/flatpak/APKBUILD b/community/flatpak/APKBUILD
index 2d08b47edb..0278ab2bbf 100644
--- a/community/flatpak/APKBUILD
+++ b/community/flatpak/APKBUILD
@@ -2,29 +2,26 @@
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=flatpak
pkgver=1.2.4
-pkgrel=0
+pkgrel=1
pkgdesc="Application deployment framework for desktop apps"
url="https://flatpak.org"
arch="all !aarch64"
license="LGPL-2.1-or-later"
depends="bubblewrap"
makedepends="glib-dev libarchive-dev libsoup-dev libcap-dev polkit-dev
- libxau-dev ostree-dev>=2018.08 fuse-dev json-glib-dev
- libgcab-dev appstream-glib-dev dconf-dev
- libseccomp-dev libxslt-dev gpgme-dev bubblewrap bison"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+ libxau-dev ostree-dev>=2018.08 fuse-dev json-glib-dev
+ libgcab-dev appstream-glib-dev dconf-dev
+ libseccomp-dev libxslt-dev gpgme-dev bison"
+subpackages="$pkgname-dev $pkgname-lang"
source="https://github.com/flatpak/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz
musl-fixes.patch"
-options="suid"
-builddir="$srcdir/$pkgname-$pkgver"
+options="suid !check" # Tests fail with no error message
# secfixes:
# 1.2.4-r0:
# - CVE-2019-10063
build() {
- cd "$builddir"
-
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -42,15 +39,11 @@ build() {
}
check() {
- cd "$builddir"
- #make -k check
- ./flatpak --version
+ make -k check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
- install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="46ad30c023e8107ddd80f80f754bfdb14e2f5dc998e932c4b7f670b99626f0fa09545517ce594df8b5cefa3dbfea357553f576090c7110dea16793b96a6a6615 flatpak-1.2.4.tar.xz