summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b965ccf133a301ab41767f720f193d80d2f1cd85 (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
32
33
34
# Maintainer: Weitian Leung <weitianleung[at]gmail[dot]com>

pkgname=lyricsx
pkgver=1.0.0
pkgrel=1
pkgdesc="free, open source, cross-platform software for editing lyrics"
url="https://github.com/timxx/lyricsx"
arch=('i686' 'x86_64')
license=('MIT')
depends=('qt5-base' 'qt5-multimedia' 'desktop-file-utils')
makedepends=('cmake' 'qt5-tools')
install=${pkgname}.install
source=("https://github.com/timxx/lyricsx/archive/v${pkgver}.tar.gz")
sha256sums=('20122bcda14f908d2062ec9a8619e458249b37c4710d182d6dcd677cc8eb0c02')

prepare() {
    mkdir -p "${srcdir}/build"
}

build() {
    cd "${srcdir}/build"

    cmake -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_BUILD_TYPE=Release \
        "${srcdir}/${pkgname}-${pkgver}"

    make
}

package() {
    cd "${srcdir}/build"

    make DESTDIR="${pkgdir}" install
}