Update build script

This commit is contained in:
hodasemi 2023-03-30 10:00:36 +02:00
parent 4507be7ba0
commit e597ad4019

View file

@ -1,21 +1,21 @@
#Maintainer: hodasemi <michaelh.95 at t-online dot de>
_pkgbase=gnome-shell-extension-pipewiresettings
pkgname="${_pkgbase}"
_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/PipewireSettings"
url="https://gavania.de/hodasemi/${_pkgbase}"
license=('GPL-3.0')
makedepends=()
depends=("gnome-shell")
conflicts=("${_pkgbase}")
conflicts=("${pkgname}")
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
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/"
}