blob: 6972467ff109bb57418fc75ed4e3ebcb43d53b6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# shellcheck shell=bash
# shellcheck disable=SC2034 # Various variables that are used by makepkg
# shellcheck disable=SC2154 # Various variables that are provided by makepkg
# Maintainer: eomanis at web dot de
pkgname='pulse-autoconf'
_pkgverUpstream="1.10.2"
pkgver="${_pkgverUpstream//-/.}"
pkgrel=3
pkgdesc="PulseAudio server dynamic configuration daemon"
arch=('any')
url='https://www.eomanis.dedyn.io/permshare/pulse-autoconf/'
license=('GPL-3.0-only')
depends=('bash' 'bc' 'coreutils' 'findutils' 'grep' 'libpulse' 'sed' 'util-linux')
source=("https://www.eomanis.dedyn.io/permshare/pulse-autoconf/pulse-autoconf-${_pkgverUpstream}.tar.gz"
"https://www.eomanis.dedyn.io/permshare/pulse-autoconf/pulse-autoconf-${_pkgverUpstream}.tar.gz.asc")
sha384sums=('35447acbedb2b0d41646f222cd3c4fe340eef484920e01ba89195fcf0ffdb9f7979f77b3990c39c526d27a5326a07f19'
'SKIP')
validpgpkeys=('F57637E9E5C28F91EE64277B603EEF8FE0A99498') # eomanis <eomanis at web dot de>
package () {
local srcRootDir="${srcdir}/${pkgname}-${_pkgverUpstream}"
# Create the required directories
install --mode=u=rwx,go=rx --directory \
"${pkgdir}/usr/bin" \
"${pkgdir}/usr/lib/systemd/user" \
"${pkgdir}/usr/share/applications"
# Place the files
install --mode=u=rwx,go=rx --target-directory="${pkgdir}/usr/bin" "${srcRootDir}/pulse-autoconf"
install --mode=u=rw,go=r --target-directory="${pkgdir}/usr/lib/systemd/user" "${srcRootDir}/systemd/pulse-autoconf.service"
install --mode=u=rw,go=r --target-directory="${pkgdir}/usr/share/applications" "${srcRootDir}/freedesktop/pulse-autoconf.desktop"
}
|