# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=freetube pkgver=0.18.0 pkgrel=0 pkgdesc="An open source desktop YouTube player built with privacy in mind." arch="x86_64 aarch64" # blocked by electron license="AGPL-3.0-only" depends=" electron font-roboto " makedepends=" npm yarn " url="https://freetubeapp.io" source=" $pkgname-$pkgver.tar.gz::https://github.com/FreeTubeApp/FreeTube/archive/v$pkgver-beta.tar.gz freetube.sh freetube.desktop package-only-necessary.patch disable-asar.patch " options="!check" # No testsuite builddir="$srcdir"/FreeTube-$pkgver-beta build() { yarn --cache-folder "$srcdir"/yarn-cache install yarn --cache-folder "$srcdir"/yarn-cache --frozen-lockfile build } package() { # directory creation + program copy install -dm755 "$pkgdir"/usr/lib cp -r "$builddir"/build/linux-unpacked/resources/app "$pkgdir"/usr/lib/$pkgname # link binaries + other items install -Dm755 "$srcdir"/freetube.sh "$pkgdir"/usr/bin/$pkgname install -Dm644 "$builddir"/_icons/icon.svg "$pkgdir"/usr/share/icons/hicolor/scalable/$pkgname.svg install -Dm644 "$srcdir"/freetube.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop } sha512sums=" 246a935a7c810ce7a2b559072d723935951a34ebf267e9ed9ccc39a73194ad16e7e2ef8f0998314aee1304cbf59c3a7ae9ccb22664a12677c996a44eca378856 freetube-0.18.0.tar.gz 8508af3d983b305b9e3c8ffb478c723feb4f8301a69cd1ad588854ce13e9b51bab1b68599c2f7f8a6005e9aa8949d36d057a3660d70e4acf2f4d125e5f8ef136 freetube.sh 0b74e115852e71f665730a09e4d06a07fd3ae68fbc9bf8aaf280a32b70298910c692c99535cd2294df95394ad9b3b9f4a127bb6c9d50824946895dbb54649872 freetube.desktop 88a09d02289ef86044211afd973b75b17a09101739282b7aa05ccf9961c12650e8c04eefe526f27c510cef26c401394b435a60c761714a04b53743972d648b47 package-only-necessary.patch 67107797825cbb98cc3a46e288fe92e06e0cc91b1a44a10edcf68045d06c9679c587bd2706051ce0b109091295247b5e8ec572297cd0c72532afd529cf56449d disable-asar.patch "