37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Maintainer: Mario Ray Mahardhika <leledumbo_cool@yahoo.co.id>
|
|
pkgname=karlyriceditor
|
|
pkgver=3.2
|
|
pkgrel=4
|
|
pkgdesc="A program which lets you edit and synchronize lyrics with karaoke songs in various formats."
|
|
arch=('i686' 'x86_64')
|
|
url="https://github.com/gyunaev/karlyriceditor"
|
|
license=('GPL')
|
|
depends=('ffmpeg4.4' 'qt5-multimedia' 'desktop-file-utils')
|
|
source=(
|
|
"karlyriceditor-$pkgver.tar.gz::https://github.com/gyunaev/karlyriceditor/archive/$pkgver.tar.gz"
|
|
"no-reg.patch"
|
|
)
|
|
sha256sums=(
|
|
"67aa863f7e34b8fd76dfc74615da3ff8b761a138be651bcb55d03d54626bddae"
|
|
"d26b15991a217414bac457f4c2dabe7e5d553e9d82f971984454d52ca8e77307"
|
|
)
|
|
install=$pkgname.install
|
|
|
|
prepare(){
|
|
cd karlyriceditor-$pkgver
|
|
patch -p1 -i "${srcdir}/no-reg.patch"
|
|
}
|
|
|
|
build() {
|
|
cd karlyriceditor-$pkgver
|
|
PKG_CONFIG_LIBDIR=/usr/lib/ffmpeg4.4/pkgconfig/:/usr/lib/pkgconfig qmake
|
|
PKG_CONFIG_LIBDIR=/usr/lib/ffmpeg4.4/pkgconfig/:/usr/lib/pkgconfig make
|
|
}
|
|
|
|
package() {
|
|
cd karlyriceditor-$pkgver
|
|
install -Dm755 bin/karlyriceditor $pkgdir/usr/bin/karlyriceditor
|
|
install -Dm644 packages/karlyriceditor.desktop $pkgdir/usr/share/applications/karlyriceditor.desktop
|
|
install -Dm644 packages/karlyriceditor.png $pkgdir/usr/share/pixmaps/karlyriceditor.png
|
|
}
|