blob: 29fdf23a20f619dfddd1a57f5c94463a399095a3 (
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
35
36
37
|
# Maintainer: Jose Riha <jose1711 gmail com>
pkgname=spivak-git
pkgver=r174.2507040
pkgrel=1
pkgdesc="Karaoke player based on GStreamer and Qt5 (git)"
arch=(x86_64)
url="https://github.com/gyunaev/spivak"
license=(GPL3)
depends=(gst-plugins-base libzip qt5-base uchardet cld2-git)
makedepends=(git)
source=("${pkgname}"::"git+https://github.com/gyunaev/spivak.git")
conflicts=('spivak')
provides=('spivak')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $pkgname
qmake
make
}
package() {
cd $pkgname
install -Dm644 $srcdir/$pkgname/libmediaplayer/libmediaplayer_spivak.so.1.0.0 $pkgdir/usr/lib/libmediaplayer_spivak.so.1.0.0
ln -s /usr/lib/libmediaplayer_spivak.so.1.0.0 $pkgdir/usr/lib/libmediaplayer_spivak.so.1.0
ln -s /usr/lib/libmediaplayer_spivak.so.1.0.0 $pkgdir/usr/lib/libmediaplayer_spivak.so.1
ln -s /usr/lib/libmediaplayer_spivak.so.1.0.0 $pkgdir/usr/lib/libmediaplayer_spivak.so
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"
}
|