summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1af8fba2f4affcaec4fb6990097bef6d7fdd530c (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
# Maintainer: lizapropanol <lizapropanol@github.com>
pkgname=morph
pkgver=0.2.0
pkgrel=1
pkgdesc="Modern music player with dynamic UI and QML theme support"
arch=('x86_64')
url="https://github.com/lizapropanol/morph"
license=('GPL3')
depends=('qt6-base' 'qt6-declarative' 'qt6-multimedia' 'qt6-svg' 'qt6-5compat' 
         'gst-plugins-good' 'gst-plugins-bad' 'gst-plugins-ugly' 'gst-libav' 'hicolor-icon-theme')
makedepends=('cmake' 'gcc')
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('ac04ee2ffab94c3e5174b7cf24651ba0cc2bbec829f30b4809d1569189152118')

build() {
  cmake -B build -S "${pkgname}-${pkgver}" \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr
  cmake --build build
}

package() {
  DESTDIR="${pkgdir}" cmake --install build
}