Skip to content

Commit

Permalink
new template (FreeTube)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndpm13 committed Jan 16, 2025
1 parent e051f46 commit c2d04f1
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
ARCH: x86_64
HOST: x86_64
PLATFORM: linux/amd64
PACKAGES: "brave,ferdium,librewolf,vscodium,obsidian,onlyoffice"
PACKAGES: "brave,ferdium,librewolf,vscodium,obsidian,onlyoffice,freetube"

jobs:
build-packages:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ Once you've created file above, proceed with installing any packages you want us

```bash
doas xbps-install -Su
doas xbps-install brave librewolf vscodium ferdium obsidian onlyoffice
doas xbps-install brave librewolf vscodium ferdium obsidian onlyoffice freetube
```
26 changes: 26 additions & 0 deletions srcpkgs/freetube/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Template file for 'freetube'
pkgname=freetube
version=0.22.1
revision=0
only_for_archs="x86_64"
hostmakedepends="tar xz"
short_desc="An open source desktop YouTube player built with privacy in mind."
maintainer="Naz <[email protected]>"
license="AGPL-3.0"
homepage="https://freetubeapp.io/"
distfiles="https://github.com/FreeTubeApp/FreeTube/releases/download/v${version}-beta/freetube_${version}_amd64.deb"
checksum=23316475faeb035ef40e1970e61ef53ee06ce6a4dfb12e0ba790f5f92059b9ae
nostrip=yes

do_extract() {
mkdir -p ${DESTDIR}
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/freetube_${version}_amd64.deb
tar xf data.tar.xz -C ${DESTDIR}
}

do_install() {
vmkdir usr/bin
ln -sf /opt/FreeTube/freetube ${DESTDIR}/usr/bin/freetube
# Cleanup up
rm -rf ${DESTDIR}/etc
}

0 comments on commit c2d04f1

Please sign in to comment.