blob: d1e50b18b60da2029efc25b6e82330154b1c04d3 (
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
38
|
# Maintainer: Randall Winkhart <idgr at tutanota dot com>
pkgname=lyricsfinder
pkgver=1.5.6
pkgrel=5
pkgdesc="A cross-platform lyrics fetcher by Mediahuman"
arch=('x86_64')
options=('!emptydirs')
url="https://www.mediahuman.com/lyrics-finder"
license=('custom')
depends=( taglib1 qt5-multimedia qt5-quickcontrols qt5-declarative qt5-base glibc gcc-libs zlib libglvnd libpng harfbuzz md4c krb5 openssl double-conversion icu pcre2 zstd glib2 freetype2 graphite e2fsprogs keyutils xz lz4 libcap libgcrypt pcre libx11 bzip2 libgpg-error libxcb libxau libxdmcp )
source=('https://www.mediahuman.com/download/LyricsFinder.amd64.deb')
sha512sums=('a8018fdf97d7079c3825007a2d87339f4407c65482e0b94896366c6a706c47cf230fa3ca0dc06ec509f5d72d3326210a52fceef005e697cf001d907fccfcea08')
package() {
tar xf data.tar.xz -C "${pkgdir}"
chown -R 0:0 ${pkgdir}
# Binary Placement
mkdir -p "${pkgdir}/usr/bin/"
mv ${pkgdir}/opt/lyrics-finder/LyricsFinder ${pkgdir}/usr/bin/lyricsfinder
# License Info
mkdir -p "${pkgdir}/usr/share/licenses/"$pkgname"/"
mv ${pkgdir}/usr/share/doc/lyrics-finder/copyright ${pkgdir}/usr/share/licenses/"$pkgname"/
# Correct Application Shortcut
echo '[Desktop Entry]
Name=Lyrics Finder
GenericName=Lyrics
Comment=Search lyrics for your music
Exec=/usr/bin/lyricsfinder %U
Terminal=false
Type=Application
Icon=LyricsFinder
Categories=Network;
StartupNotify=false' > ${pkgdir}/usr/share/applications/lyrics-finder.desktop
}
|