PipewireSettings/PKGBUILD

27 lines
819 B
Text
Raw Normal View History

2023-03-30 07:33:43 +00:00
#Maintainer: hodasemi <michaelh.95 at t-online dot de>
2023-03-30 08:00:36 +00:00
_pkgbase=PipewireSettings
pkgname=gnome-shell-extension-pipewiresettings
2023-03-30 07:33:43 +00:00
pkgver=0.1
pkgrel=1
pkgdesc="Change sample rate of current pipewire session"
arch=('x86_64')
2023-03-30 08:00:36 +00:00
url="https://gavania.de/hodasemi/${_pkgbase}"
2023-03-30 07:33:43 +00:00
license=('GPL-3.0')
makedepends=()
depends=("gnome-shell")
2023-03-30 08:00:36 +00:00
conflicts=("${pkgname}")
2023-03-30 07:33:43 +00:00
source=("git+${url}")
md5sums=(SKIP)
package() {
# copy files
2023-04-15 13:02:14 +00:00
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}/"
2023-03-30 07:33:43 +00:00
}