archrelease: copy trunk to extra-x86_64
[arch-packages.git] / audiotube / repos / extra-x86_64 / PKGBUILD
blobdbc250048f13cbe04e061daebf42bb9822a55876
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=audiotube
4 pkgver=23.04.1
5 pkgrel=2
6 pkgdesc='Client for YouTube Music'
7 url='https://apps.kde.org/audiotube/'
8 arch=(x86_64)
9 license=(GPL LGPL)
10 groups=(kde-applications kde-multimedia)
11 depends=(kirigami-addons qt5-imageformats qt5-multimedia qt5-svg ki18n kcrash kwindowsystem yt-dlp python-ytmusicapi)
12 makedepends=(extra-cmake-modules pybind11)
13 source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
14         58460cf3.patch)
15 sha256sums=('60c688ccb1ff82d66f2924984d66f5dbd91937bb8fd69cae9b81298454dc9b5e'
16             'SKIP'
17             'b677e09feb97808b2fd9653ff645ff3188fb0bccd1c8b06c35035233382fc465')
18 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
19               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
20               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
22 prepare() {
23   patch -d $pkgname-$pkgver -p1 < 58460cf3.patch # Support ytmusicapi 1.0
26 build() {
27   cmake -B build -S $pkgname-$pkgver \
28     -DBUILD_TESTING=OFF
29   cmake --build build
32 package() {
33   DESTDIR="$pkgdir" cmake --install build