26 lines
819 B
Bash
26 lines
819 B
Bash
#Maintainer: hodasemi <michaelh.95 at t-online dot de>
|
|
_pkgbase=PipewireSettings
|
|
pkgname=gnome-shell-extension-pipewiresettings
|
|
pkgver=0.1
|
|
pkgrel=1
|
|
pkgdesc="Change sample rate of current pipewire session"
|
|
arch=('x86_64')
|
|
url="https://gavania.de/hodasemi/${_pkgbase}"
|
|
license=('GPL-3.0')
|
|
makedepends=()
|
|
depends=("gnome-shell")
|
|
conflicts=("${pkgname}")
|
|
source=("git+${url}")
|
|
md5sums=(SKIP)
|
|
|
|
package() {
|
|
# copy files
|
|
|
|
dir="pipewiresettings@gavania.de"
|
|
|
|
mkdir -p ${pkgdir}/usr/share/gnome-shell/extensions/${dir}/
|
|
|
|
install -Dm755 ${_pkgbase}/extension.js "${pkgdir}/usr/share/gnome-shell/extensions/${dir}/"
|
|
install -Dm755 ${_pkgbase}/metadata.json "${pkgdir}/usr/share/gnome-shell/extensions/${dir}/"
|
|
install -Dm755 ${_pkgbase}/stylesheet.css "${pkgdir}/usr/share/gnome-shell/extensions/${dir}/"
|
|
}
|