aboutsummaryrefslogtreecommitdiffstats
path: root/testing/flatpak/APKBUILD
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-04-25 07:45:21 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-04-27 09:10:38 +0300
commit481c91daf2b9061163fa84d6fe497f555e5578cc (patch)
treed1639040312b3ce6b1f45b8f95eeb298e1b97fef /testing/flatpak/APKBUILD
parented6f946ce243e97b64b44fe4cfe3efcaa90a6c1c (diff)
downloadaports-481c91daf2b9061163fa84d6fe497f555e5578cc.tar.gz
aports-481c91daf2b9061163fa84d6fe497f555e5578cc.tar.bz2
aports-481c91daf2b9061163fa84d6fe497f555e5578cc.tar.xz
testing/flatpak: upgrade to 0.9.3
* Modernize abuild * Add basic check function
Diffstat (limited to 'testing/flatpak/APKBUILD')
-rw-r--r--testing/flatpak/APKBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/testing/flatpak/APKBUILD b/testing/flatpak/APKBUILD
index 5214bb2956..dd34d6d5aa 100644
--- a/testing/flatpak/APKBUILD
+++ b/testing/flatpak/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=flatpak
-pkgver=0.9.2
+pkgver=0.9.3
pkgrel=0
pkgdesc="Application deployment framework for desktop apps"
url="http://flatpak.org"
@@ -15,7 +15,7 @@ makedepends="glib-dev libarchive-dev libsoup-dev elfutils-dev libdwarf-dev
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://github.com/flatpak/flatpak/releases/download/$pkgver/flatpak-$pkgver.tar.xz
musl-fixes.patch"
-options="!check suid"
+options="suid"
builddir="$srcdir/$pkgname-$pkgver"
build() {
@@ -33,17 +33,23 @@ build() {
--disable-documentation \
--with-priv-mode=setuid \
--with-dwarf-header=/usr/include/libdwarf \
- --with-system-bubblewrap \
- || return 1
+ --with-system-bubblewrap
- make || return 1
+ make
+}
+
+check() {
+ cd "$builddir"
+ #make -k check
+ ./flatpak --version
+ ./flatpak-builder --version
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-sha512sums="07aa079f388a9853882de2be42e48dd4d987f1b899d5a596b7596d5f0a2970901b445d0b4b0d01a080e718b84828aba2df92493040e1900a8a547c0028844edb flatpak-0.9.2.tar.xz
+sha512sums="eb6514092a3fea87616344f573b5e0f3826f7599710409ffa2aff9ff597c10336c19f8b80cca9d7a69b300c03a1781939926cdbe2e283757cb94f30e668a4d6d flatpak-0.9.3.tar.xz
9287ed146bf71665aa436a2c2110cc5edc829a7b4a3e3190947580850fe9ecfd2bb6adb015c692af022d425fb5259390fcdcbd402e8b0d12ee5d2c1a1071ed4f musl-fixes.patch"