summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgustawho2021-04-29 13:11:29 -0600
committergustawho2021-04-29 13:11:29 -0600
commit6cf364fccd68556c288951f10e9bbe46620b3793 (patch)
treecdd0a4e5fb68ab5f573a8b22ebef8f9b93da4604
parentc141925828c79df547863e76e89a755fcffac38e (diff)
downloadaur-6cf364fccd68556c288951f10e9bbe46620b3793.tar.gz
PKGBUILD cleanup
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9758d785857..27763ea5dcf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,9 +8,10 @@ pkgbase = plasmatube-git
license = GPL3
makedepends = git
makedepends = extra-cmake-modules
+ makedepends = qt5-svg
+ makedepends = qt5-tools
depends = ki18n
depends = kirigami2
- depends = qt5-svg
depends = youtube-dl
depends = mpv
provides = plasmatube
diff --git a/PKGBUILD b/PKGBUILD
index ef176bf4014..058f1ba5da7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,8 @@ pkgdesc="Kirigami YouTube video player based on libmpv and youtube-dl"
arch=(x86_64 aarch64)
url="https://invent.kde.org/lnj/plasmatube"
license=(GPL3)
-depends=('ki18n' 'kirigami2' 'qt5-svg' 'youtube-dl' 'mpv')
-makedepends=('git' 'extra-cmake-modules')
+depends=('ki18n' 'kirigami2' 'youtube-dl' 'mpv')
+makedepends=('git' 'extra-cmake-modules' 'qt5-svg' 'qt5-tools')
provides=('plasmatube')
conflicts=('plasmatube')
source=("git+${url}.git")
@@ -24,9 +24,9 @@ pkgver() {
build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build -S "${pkgname%-git}"
- make -C build
+ cmake --build build
}
package() {
- make -C build DESTDIR="${pkgdir}" PREFIX=/usr install
+ DESTDIR="${pkgdir}" cmake --install build
}