summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 35cb257886b2935324ac7cfbb330af6be809a5d8 (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: Mark Old <dlom234@gmail.com>

pkgname=virtualhere-server-bin
pkgver=2.7.2
pkgrel=1
pkgdesc="VirtualHere USB Server for Linux Desktop"
arch=("i686" "x86_64")
url="https://www.virtualhere.com/usb_server_software"
license=("custom")
optdepends=("avahi: systemd unit support")
provides=("virtualhere")
conflicts=("virtualhere")
source=("virtualhere.service")
source_i686=("https://www.virtualhere.com/sites/default/files/usbserver/vhusbdi386")
source_x86_64=("https://www.virtualhere.com/sites/default/files/usbserver/vhusbdx86_64")
md5sums=('b317ad221de44c968d2368825e1682fe')
md5sums_i686=('60109f2782f31494017b217e595f8bdc')
md5sums_x86_64=('ccdcd1a9fb5ca8c5bbbe34e175172568')

build() {
    mv vhusbd* vhusbd
    chmod +x vhusbd
    ./vhusbd -l > LICENSE
}

package() {
    install -Dm755 vhusbd              "${pkgdir}/usr/bin/vhusbd"
    install -Dm644 virtualhere.service "${pkgdir}/etc/systemd/system/virtualhere.service"
    install -Dm644 LICENSE             "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}