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