45 lines
1.2 KiB
Bash
45 lines
1.2 KiB
Bash
#!/usr/bin/env bash
|
|
name='flatpak'
|
|
release='6'
|
|
version='1.18.2'
|
|
url='https://github.com/flatpak/flatpak'
|
|
description='Linux application sandboxing and distribution framework'
|
|
email='aliriza.keskin@pardus.org.tr'
|
|
maintainer='aliriza'
|
|
license=('GPLv3')
|
|
source=("https://salsa.debian.org/debian/flatpak/-/archive/debian/$version-1/flatpak-debian-$version-1.tar.gz"
|
|
"flatpak.env")
|
|
depends=(ostree desktop-file-utils shared-mime-info curl libX11 json-glib appstream py3-parsing libseccomp)
|
|
makedepends=()
|
|
sha256sums=('c2d2770681be5bc175505e0d743c4d39749880b162a1a900aaba843f5a9490f3'
|
|
'SKIP')
|
|
group=(sys.apps)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-debian-$version-1
|
|
|
|
unset meson
|
|
setup(){
|
|
meson setup build --prefix=/usr \
|
|
--libdir=/usr/lib64/ \
|
|
--sysconfdir=/etc \
|
|
-Dsystem_helper=disabled \
|
|
-Dsystemd=disabled \
|
|
-Dsystem_install_dir=/data/flatpak \
|
|
-Dmalcontent=disabled \
|
|
-Dlibzstd=disabled \
|
|
-Dtests=false
|
|
}
|
|
|
|
build(){
|
|
ninja -C build $jobs
|
|
}
|
|
|
|
package(){
|
|
ninja -C build install $jobs
|
|
echo "# Turkmen linux extras" >> $DESTDIR/etc/profile.d/flatpak.sh
|
|
cat ../flatpak.env >> $DESTDIR/etc/profile.d/flatpak.sh
|
|
}
|
|
|