blob: 9cdfe42863b5b8e63efda11aafdbd5e8dee08608 (
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: Ayase Utena (au@0x64.dev)
pkgname=viusb
pkgver=0.1
pkgrel=1
pkgdesc="Qt-powered advanced 'visual' lsusb"
arch=('any')
url="https://github.com/0x64620/viusb"
license=('GPL3')
depends=('qt5-base' 'usbutils')
makedepends=('cmake' 'make' 'git')
source=("git+https://github.com/0x64620/viusb.git"
"viusb.desktop")
sha256sums=('SKIP'
'4576c44737cd208e591b2a9181b321e7aafce90d9087fb3dc30618b13d6f20d7'
)
build() {
cd "$srcdir/viusb"
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$srcdir/viusb/build"
install -Dm777 "$srcdir/viusb/build/viusb" "$pkgdir/usr/bin/viusb"
install -Dm644 "$srcdir/viusb.desktop" "$pkgdir/usr/share/applications/viusb.desktop"
}
|