This commit is contained in:
Borhaneddine GUEMIDI
2026-01-24 03:30:55 +01:00
parent fcc4bb46d2
commit f09fa8d132
2 changed files with 13 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
# Maintainer: Your Name <your.email@example.com>
pkgname=open-video-downloader
pkgver=3.1.0
pkgver=3.1.1
pkgrel=1
pkgdesc="A cross-platform GUI for youtube-dl made in Rust with Tauri and Vue + Typescript"
arch=('x86_64')
@@ -9,17 +9,17 @@ 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=('2372c0039599cd2ba89a3f47be23bfd6dfb3e0a1d29d94414284c2529477ed7a')
sha256sums=('2ed12d3b2260b5253b96676c6ec33b5348fcc6cbe32df5f5dffc8ad340f6007d')
package() {
# Extract the .deb package
bsdtar -xf "${srcdir}/data.tar.gz" -C "${pkgdir}"
# Extract the .deb package
bsdtar -xf "${srcdir}/data.tar.gz" -C "${pkgdir}"
# Fix permissions
chmod -R u=rwX,go=rX "${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
# Remove unnecessary files if present
if [ -d "${pkgdir}/usr/share/doc" ]; then
rm -rf "${pkgdir}/usr/share/doc"
fi
}