makedeb


freetube-bin 0.17.1-1


An open source desktop YouTube player built with privacy in mind.

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for freetube-bin.

# Maintainer: hiddeninthesand <hiddeninthesand at protonmail dot com>

pkgname='freetube-bin'
pkgver='0.17.1'
pkgrel='1'
pkgdesc="An open source desktop YouTube player built with privacy in mind."
arch=('x86_64')
url="https://github.com/FreeTubeApp/FreeTube"
license=('AGPL3')
options=("!strip" "staticlibs")
provides=("freetube")
source=("freetube.deb"::"${url}/releases/download/v${pkgver}-beta/freetube_${pkgver}_amd64.deb")
b2sums=('e0eb375b9cdb9b83e139ab587a016b3d299d4bdce8557ffdb6259efaad16d6b68dfc28d9be61a660d6bc404f03f585e42027e0c97aa18e5e382a2efffff2b7b4')

prepare() {
	mkdir data
    bsdtar -x -f data.tar.xz -C data
}

package() {
    install -d "${pkgdir}/usr/bin"
    cp -a  ${srcdir}/data/* ${pkgdir}/
    ln -s "/opt/FreeTube/FreeTube" "${pkgdir}/usr/bin/FreeTube"
}