summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9672c5ac07e5884aae03b830825a14caf6819bcf (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
# Maintainer:  Maxime Poulin <maxpoulin64@gmail.com>
# Contributor: Jan Hrdina <jan.hrdka@gmail.com>
# Contributor: Gabriel B. Casella <gbc921@gmail.com>
pkgname=soundwire
pkgver=3.0.0
pkgrel=4
pkgdesc="Wirelessly transmit any audio from your PC to your Android phone or other PCs"
url="http://georgielabs.net"
arch=('x86_64')
license=('custom')
depends=('portaudio' 'qt5-base' 'curl')
optdepends=('pavucontrol')
install='soundwire.install'

source=("https://georgielabs.net/SoundWire_Server_linux64.tar.gz")
sha256sums=('d60f2a5c0750cb89bc330d22ac61116327887c53a87aac1e0dca23ee634683cd')

package() {
  cd "${srcdir}/SoundWireServer"

  sed -i 's/sw-icon/soundwire/' SoundWire-Server.desktop

  install -Dm644 license.txt "$pkgdir/usr/share/doc/$pkgname/license.txt"
  install -Dm644 opus_license.txt "$pkgdir/usr/share/doc/$pkgname/opus_license.txt"
  install -Dm644 README.txt "$pkgdir/usr/share/doc/$pkgname/README.txt"
  install -Dm644 sw-icon.xpm "$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.xpm"
  install -Dm644 SoundWire-Server.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
  install -D SoundWireServer "$pkgdir/usr/bin/SoundWireServer"
}
# vim:set ts=2 sw=2 et: