desktop/usbredir/PKGBUILD

26 lines
666 B
Bash
Raw Normal View History

2018-12-13 21:18:15 +08:00
# Contributions from Arch:
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Stefano Facchini <stefano.facchini@gmail.com>
2015-11-19 06:46:22 +08:00
pkgname=usbredir
2018-12-13 21:18:15 +08:00
pkgver=0.8.0
2015-11-19 06:46:22 +08:00
pkgrel=1
pkgdesc="USB traffic redirection protocol"
2018-12-13 21:18:15 +08:00
arch=('x86_64')
2015-11-19 06:46:22 +08:00
url="http://spice-space.org/page/UsbRedir"
license=('GPL2' 'LGPL2.1')
depends=('libusb')
source=(http://spice-space.org/download/usbredir/$pkgname-$pkgver.tar.bz2)
2018-12-13 21:18:15 +08:00
sha256sums=('87bc9c5a81c982517a1bec70dc8d22e15ae197847643d58f20c0ced3c38c5e00')
2015-11-19 06:46:22 +08:00
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}