commit b52f7620d3cab4850cbbc19004df531e5d9661e6 Author: Borhaneddine GUEMIDI Date: Wed Dec 3 09:02:28 2025 +0100 The same thing we do every night, Pinky - try to take over the world! diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..4459247 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = open-video-downloader + pkgdesc = A cross-platform GUI for youtube-dl made in Rust with Tauri and Vue + Typescript + pkgver = 3.0.0 + pkgrel = 1 + url = https://github.com/jely2002/youtube-dl-gui + arch = x86_64 + license = AGPL3 + depends = gtk3 + depends = webkit2gtk + source = open-video-downloader-3.0.0.deb::https://github.com/jely2002/youtube-dl-gui/releases/download/app-v3.0.0/Open.Video.Downloader_3.0.0_amd64.deb + sha256sums = 9696d93863261100d19e477a295bad55856ce6c552b0ae7b972344a8d58c175b + +pkgname = open-video-downloader diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67eca15 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +*.pkg.tar.zst +*.deb diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..840aa45 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Your Name +pkgname=open-video-downloader +pkgver=3.0.0 +pkgrel=1 +pkgdesc="A cross-platform GUI for youtube-dl made in Rust with Tauri and Vue + Typescript" +arch=('x86_64') +url="https://github.com/jely2002/youtube-dl-gui" +license=('AGPL3') +depends=('gtk3' 'webkit2gtk') +optdepends=() +source=("${pkgname}-${pkgver}.deb::https://github.com/jely2002/youtube-dl-gui/releases/download/app-v${pkgver}/Open.Video.Downloader_${pkgver}_amd64.deb") +sha256sums=('9696d93863261100d19e477a295bad55856ce6c552b0ae7b972344a8d58c175b') + +package() { + # Extract the .deb package + bsdtar -xf "${srcdir}/data.tar.gz" -C "${pkgdir}" + + # Fix permissions + chmod -R u=rwX,go=rX "${pkgdir}" + + # Remove unnecessary files if present + if [ -d "${pkgdir}/usr/share/doc" ]; then + rm -rf "${pkgdir}/usr/share/doc" + fi +}