summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3329c7f3671bcaef860ee00d5b64df8f7837995b (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: mrxx <mrxx at cyberhome dot at>
# Contributor: Balló György <ballogyor+arch at gmail dot com>

pkgname=spivak
pkgver=1.4
pkgrel=1
pkgdesc="Karaoke player based on GStreamer and Qt5"
arch=(x86_64)
url="https://github.com/gyunaev/spivak"
license=(GPL3)
depends=(gst-plugins-base libzip qt5-base uchardet)
source=("$pkgname-$pkgver.tar.gz::https://github.com/gyunaev/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('e64a5d46ed6cfb5ed0c6fcb46a956155a28dd75b87a5de9394d69ec593aa7859')

prepare() {
	cd $pkgname-$pkgver
	sed -i '/SUBDIRS += languagedetector/d' plugins/plugins.pro
}

build() {
	cd $pkgname-$pkgver
	qmake
	make
}

package() {
	cd $pkgname-$pkgver
	install -Dm755 src/spivak "$pkgdir/usr/bin/spivak"
	install -Dm644 packaging/spivak.desktop "$pkgdir/usr/share/applications/spivak.desktop"
	install -Dm644 packaging/icon.png "$pkgdir/usr/share/pixmaps/spivak.png"
}