summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c25a173856c3ef991626da7354016bf98235a069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>

pkgname=deadbeef-plugin-gui-qt5-git
pkgver=1.9.r143.gab2ea67
pkgrel=2
pkgdesc="Qt5 plugin for DeaDBeeF (latest commit)"
url="https://github.com/kuba160/ddb_gui_qt5"
license=('GPL-2.0-or-later')
arch=('x86_64')
depends=('deadbeef' 'qt5-base' 'qt5-charts' 'qt5-declarative' 'qt6-declarative')
makedepends=('git' 'make')
provides=("deadbeef-gui-qt5-git" "ddb-gui-qt5-git"
          "deadbeef-plugin-gui-qt5" "deadbeef-gui-qt5" "ddb-gui-qt5")
conflicts=("deadbeef-plugin-gui-qt5")
source=("git+$url.git")
sha256sums=('SKIP')

pkgver() {
  cd ddb_gui_qt5
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g;s/\.preview2//'
}

build() {
  cd ddb_gui_qt5
  qmake ddb_gui_qt5.pro
  make
}

package() {
  install -Dm755 ddb_gui_qt5/ddb_gui_qt5.so -t "$pkgdir/usr/lib/deadbeef"
}