ayaports/testing/freetube/APKBUILD

53 lines
2.1 KiB
Text
Raw Normal View History

2023-02-22 04:55:47 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=freetube
pkgver=0.18.0
2023-11-24 22:43:34 +00:00
pkgrel=5
2023-02-22 04:55:47 +00:00
pkgdesc="An open source desktop YouTube player built with privacy in mind."
2023-11-24 22:43:34 +00:00
arch="x86_64 aarch64" # blocked by electron
2023-02-22 04:55:47 +00:00
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
2023-11-24 22:43:34 +00:00
electron23.patch
2023-02-22 04:55:47 +00:00
package-only-necessary.patch
disable-asar.patch
"
2023-11-24 22:43:34 +00:00
options="net !check" # No testsuite
2023-02-22 04:55:47 +00:00
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
}
2023-11-24 22:43:34 +00:00
2023-02-22 04:55:47 +00:00
sha512sums="
246a935a7c810ce7a2b559072d723935951a34ebf267e9ed9ccc39a73194ad16e7e2ef8f0998314aee1304cbf59c3a7ae9ccb22664a12677c996a44eca378856 freetube-0.18.0.tar.gz
8508af3d983b305b9e3c8ffb478c723feb4f8301a69cd1ad588854ce13e9b51bab1b68599c2f7f8a6005e9aa8949d36d057a3660d70e4acf2f4d125e5f8ef136 freetube.sh
0b74e115852e71f665730a09e4d06a07fd3ae68fbc9bf8aaf280a32b70298910c692c99535cd2294df95394ad9b3b9f4a127bb6c9d50824946895dbb54649872 freetube.desktop
2023-11-24 22:43:34 +00:00
c73ffb36e678846ae0a7e1d5568a3c17a5949c589cddfc0f9ed4cb6c9d2e298c4cd999913f9d8d08e276911bc2d844aabbdffc106264e91b888b176c74c3ffc6 electron23.patch
2023-02-22 04:55:47 +00:00
88a09d02289ef86044211afd973b75b17a09101739282b7aa05ccf9961c12650e8c04eefe526f27c510cef26c401394b435a60c761714a04b53743972d648b47 package-only-necessary.patch
67107797825cbb98cc3a46e288fe92e06e0cc91b1a44a10edcf68045d06c9679c587bd2706051ce0b109091295247b5e8ec572297cd0c72532afd529cf56449d disable-asar.patch
"