blob: 9634319f127f60ee7a80f44f46007238952d268b (
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: Omansh Krishn <omansh@duck.com>
pkgname=saturn-bin
pkgver=1.1.1
pkgrel=2
pkgdesc="Your go-to ToS Compliant Custom Deezer Client - Freezer Reborn"
arch=('x86_64')
url="https://github.com/SaturnMusic/PC"
license=('GPL3')
depends=( flac libnotify libxtst nss )
makedepends=( libarchive )
optdepends=( libappindicator-gtk3 )
provides=( 'saturnmusic' )
conflicts=('saturn-git')
source=( https://github.com/SaturnMusic/PC/releases/download/v${pkgver}/saturn_${pkgver}_amd64.deb )
sha256sums=('0b58bce227f0f05b96abb6f7532fc315dfffb53342d0ff0fade7b54107d99888')
package() {
cd "${srcdir}"
bsdtar -xf "${srcdir}/data.tar.xz"
install -dm755 "${pkgdir}/opt"
cp --preserve=mode -r 'opt' "${pkgdir}/"
for res in 16x16 22x22 24x24 32x32 48x48 64x64 128x128 256x256 512x512; do
install -dm755 "${pkgdir}/usr/share/icons/hicolor/${res}/apps"
install -m644 "${srcdir}/usr/share/icons/hicolor/${res}/apps/saturn.png" "${pkgdir}/usr/share/icons/hicolor/${res}/apps/saturn.png"
done
install -dm755 "${pkgdir}/usr/share/applications"
install -Dm644 "${srcdir}/usr/share/applications/saturn.desktop" "${pkgdir}/usr/share/applications/saturn.desktop"
}
|