makedeb


freetube-bin 0.18.0-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.18.0'
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=('300d3f9ce2b4920a2fa936dab1459feb0eb75f8e1adf9f8b27e8971771f6e77e622432691bd5de8a6bfb1993a84d1e101ad22591b6a62007d1c6a5024282658e')

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"
}