-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
39 lines (32 loc) · 1.32 KB
/
PKGBUILD
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
### Maintainer: Your Name <[email protected]>
pkgname=cable
pkgver=0.1.7
pkgrel=1
pkgdesc="A PyQt5 application to dynamically modify Pipewire and Wireplumber settings"
arch=('any')
url="https://github.com/magillos/Cable"
license=('GPL-3.0')
depends=('python' 'python-pyqt5')
makedepends=('python-setuptools')
source=(
"Cable.py::https://raw.githubusercontent.com/magillos/Cable/master/Cable.py"
"setup.py::https://raw.githubusercontent.com/magillos/Cable/master/setup.py"
"jack-plug.svg::https://raw.githubusercontent.com/magillos/Cable/master/jack-plug.svg"
"cable.desktop::https://raw.githubusercontent.com/magillos/Cable/master/cable.desktop"
)
sha256sums=('e20f9b690ca0fa1bc09793f77aa1288f7beb89eb70f511ce20fbb35c35a4ca2c'
'99cdfe14a2d213a2676ea6bc3db1f20589e81423f29754cdaa1cfed0e636be38'
'5c3fa8b496c1a4a1918a2bfa2420cfa3ceedc93307d566a55c8f0835f3b33442'
'a2a9f1eda97881a621f1ae24bc5c5ca7f7e79055f3673055f5cc922fe220609f')
build() {
cd "$srcdir"
python setup.py build
}
package() {
cd "$srcdir"
python setup.py install --root="$pkgdir/" --optimize=1
# Install the icon
install -Dm644 "$srcdir/jack-plug.svg" "$pkgdir/usr/share/icons/jack-plug.svg"
# Install the desktop entry
install -Dm644 "$srcdir/cable.desktop" "$pkgdir/usr/share/applications/cable.desktop"
}