Add PKGBUILD

This commit is contained in:
hodasemi 2023-03-30 09:33:43 +02:00
parent a0444e4b0b
commit 4507be7ba0

21
PKGBUILD Normal file
View file

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