mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-25 06:22:09 +02:00
testing/flatpak: upgrade to 0.9.3
* Modernize abuild * Add basic check function
This commit is contained in:
parent
ed6f946ce2
commit
481c91daf2
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user