blob: f671665af2f8acb329b1f4e5dd2c66dd5ed8117e (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: Dominik Schwaiger <domi.schwaiger04@gmail.com>
pkgname=sonyheadphonesclient-bin
pkgver=1.3.2
pkgrel=1
epoch=2
pkgdesc="A {Windows, macOS, Linux} client recreating the functionality of the Sony Headphones app"
arch=("x86_64")
url="https://github.com/Plutoberth/SonyHeadphonesClient"
license=('custom:MIT')
groups=()
depends=("glfw" "unzip" "gcc-libs" "libglvnd" "glibc" "dbus" "bluez-libs" "glew" "glew-2.1" "dbus")
makedepends=()
checkdepends=()
optdepends=("glfw-doc")
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/Plutoberth/SonyHeadphonesClient/releases/download/v$pkgver/SonyHeadphonesClient-linux-x64.zip" "MIT")
noextract=()
md5sums=("SKIP" "SKIP")
validpgpkeys=()
# prepare() {
# cd "$pkgname-$pkgver"
# patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
# }
# build() {
# cd "$pkgname-$pkgver"
# unzip
# }
# check() {
# cd "$pkgname-$pkgver"
# make -k check
# }
package() {
unzip -o -qq "SonyHeadphonesClient-linux-x64.zip"
rm "SonyHeadphonesClient-linux-x64.zip"
mkdir -p "$pkgdir/usr/bin/"
mv SonyHeadphonesClient "$pkgdir/usr/bin/"
chmod +x "$pkgdir/usr/bin/SonyHeadphonesClient"
# Desktop entry
mkdir -p "$pkgdir/usr/share/applications/"
echo "[Desktop Entry]
Name=Sony Headphones Client
Exec=SonyHeadphonesClient
Terminal=falsey
Type=Application
Icon=application-executable
Categories=Accessoires;" >>"$pkgdir/usr/share/applications/SonyHeadphonesClient.desktop"
# License
mkdir -p "$pkgdir/usr/share/licenses/$pkgname/"
cp MIT "$pkgdir/usr/share/licenses/$pkgname/"
}
|