# Maintainer: Mihók Martin # Contributor: FabioLolix # Contributor: Niklas Wojtkowiak _pkgname='spacedrive' pkgname="${_pkgname}-bin" pkgver='0.2.2' pkgrel='1' epoch='1' pkgdesc="A file manager from the future." arch=('x86_64') url="https://spacedrive.com" _url_source='https://github.com/spacedriveapp/spacedrive' license=('AGPL3') source=("${_url_source}/releases/download/${pkgver}/Spacedrive-linux-x86_64.deb") sha256sums=('3dee73e6f07228dbeb1666ea8720b13eaeb1c946f64a323e6d1dee82d8e217ba') depends=(gtk3 ffmpeg4.4 webkit2gtk openssl-1.1 glibc gcc-libs glib2 pango libsoup cairo gdk-pixbuf2 libheif onnxruntime) provides=(spacedrive) conflicts=(spacedrive) package() { tar -xf "${srcdir}/data.tar.gz" --directory "${srcdir}" #temporary workaround fixes #2006 mkdir -p "${pkgdir}/usr/lib/spacedrive/" ln -s "/usr/lib/libonnxruntime.so" "${pkgdir}/usr/lib/spacedrive/libonnxruntime.so" chmod -R 755 "${srcdir}/usr/share/" install -Dm755 "${srcdir}/usr/bin/spacedrive" "${pkgdir}/usr/bin/spacedrive" install -dm755 "${pkgdir}/usr/share/" cp -r "${srcdir}/usr/share/" "${pkgdir}/usr/" }