first commit

This commit is contained in:
2026-04-10 15:25:26 +02:00
parent f09fa8d132
commit 410a3f2a34
6 changed files with 155 additions and 27 deletions

View File

@@ -1,25 +1,25 @@
# Maintainer: Your Name <your.email@example.com>
pkgname=open-video-downloader
pkgver=3.1.1
pkgrel=1
# Maintainer: Bryan Joshua Pedini <bryan [at] pedini [dot] dev>
_pkgname="open-video-downloader"
_srcname="youtube-dl-gui"
_srcmntr="jely2002"
pkgname="${_pkgname}"
pkgver="3.2.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=('2ed12d3b2260b5253b96676c6ec33b5348fcc6cbe32df5f5dffc8ad340f6007d')
url="https://github.com/${_srcmntr}/${_srcname}"
arch=("x86_64")
license=("AGPL3")
options=("!strip" "!debug")
depends=("gtk3" "webkit2gtk-4.1")
_archive="${_pkgname}-${pkgver}.deb"
source=("${_archive}::https://github.com/${_srcmntr}/${_srcname}/releases/download/app-v${pkgver}/Open.Video.Downloader_${pkgver}_amd64.deb")
conflicts=("open-video-downloader")
provides=("open-video-downloader")
sha256sums=("2a0190508c5b80d2801765073385439bf6dac7749473c19f842fbd5067f18e15")
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
}