Merge branch 'master' of ssh://gavania.de:23/hodasemi/PipewireSettings

This commit is contained in:
hodasemi 2023-06-08 11:40:49 +02:00
commit ccf56e7977

26
PKGBUILD Normal file
View file

@ -0,0 +1,26 @@
#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}/"
}