Compare commits
10 commits
1e6cbc9974
...
a66a4a7981
Author | SHA1 | Date | |
---|---|---|---|
a66a4a7981 | |||
ecbe182fe1 | |||
1150336506 | |||
2ee6cc34e5 | |||
c515f3e3ba | |||
997cf996ce | |||
|
4f103da551 | ||
|
f59c17b226 | ||
|
a8c7e56571 | ||
|
a22a54b95a |
9 changed files with 54 additions and 131 deletions
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = discord-electron-openasar
|
pkgbase = discord-electron-openasar
|
||||||
pkgdesc = Discord packaged with OpenAsar using system provided electron (v33) for increased security and performance
|
pkgdesc = Discord packaged with OpenAsar using system provided electron (v33) for increased security and performance
|
||||||
pkgver = 0.0.71+830
|
pkgver = 0.0.72+830
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
url = https://discord.com
|
url = https://discord.com
|
||||||
install = discord-electron-openasar.install
|
install = discord-electron-openasar.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
@ -21,11 +21,11 @@ pkgbase = discord-electron-openasar
|
||||||
provides = discord
|
provides = discord
|
||||||
conflicts = discord
|
conflicts = discord
|
||||||
options = !strip
|
options = !strip
|
||||||
source = https://dl.discordapp.net/apps/linux/0.0.71/discord-0.0.71.tar.gz
|
source = https://dl.discordapp.net/apps/linux/0.0.72/discord-0.0.72.tar.gz
|
||||||
source = discord-launcher.sh
|
source = discord-launcher.sh
|
||||||
source = krisp-patcher.py
|
source = krisp-patcher.py
|
||||||
source = git+https://github.com/goosemod/openasar.git#commit=f92ee8c3dc6b6ff9829f69a1339e0f82a877929c
|
source = git+https://github.com/goosemod/openasar.git#commit=f92ee8c3dc6b6ff9829f69a1339e0f82a877929c
|
||||||
sha512sums = c4042a56e8ad170901367ed562831d0f8933d8f0babf246639f8b5b17d7b437b58d6cf696f3c3d6a30674c041567115d0419a3e4c00de7064db58a4c77a61a93
|
sha512sums = ddb791e1a92a30f2cab24fd7a686b621be33d51c2a7c0a0eed3293b4edd05f814ea850cbf43c9910f4576b17dc9e9c1367960f3d1536e7ec1ede372904c6c424
|
||||||
sha512sums = 4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666
|
sha512sums = 4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666
|
||||||
sha512sums = 42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c
|
sha512sums = 42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c
|
||||||
sha512sums = 4befe9f30b7d11da966692242353becca3f86f7d5b3eb73c48b6f42073b88f7c8a21141d3f84ee2ff10f74a4596d1391f0b200134599a36c9589074bec298573
|
sha512sums = 4befe9f30b7d11da966692242353becca3f86f7d5b3eb73c48b6f42073b88f7c8a21141d3f84ee2ff10f74a4596d1391f0b200134599a36c9589074bec298573
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
pkgname=discord-electron-openasar
|
pkgname=discord-electron-openasar
|
||||||
_pkgname=discord
|
_pkgname=discord
|
||||||
pkgver=0.0.71+830
|
pkgver=0.0.72+830
|
||||||
_pkgver=${pkgver%%+*}
|
_pkgver=${pkgver%%+*}
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
_electronver=33
|
_electronver=33
|
||||||
_electronname="electron${_electronver}"
|
_electronname="electron${_electronver}"
|
||||||
pkgdesc="Discord packaged with OpenAsar using system provided electron (v${_electronver}) for increased security and performance"
|
pkgdesc="Discord packaged with OpenAsar using system provided electron (v${_electronver}) for increased security and performance"
|
||||||
|
@ -28,7 +28,7 @@ source=("https://dl.discordapp.net/apps/linux/${_pkgver}/${_pkgname}-${_pkgver}.
|
||||||
'discord-launcher.sh'
|
'discord-launcher.sh'
|
||||||
'krisp-patcher.py' # original: https://github.com/sersorrel/sys/blob/main/hm/discord/krisp-patcher.py
|
'krisp-patcher.py' # original: https://github.com/sersorrel/sys/blob/main/hm/discord/krisp-patcher.py
|
||||||
"git+https://github.com/goosemod/openasar.git#commit=f92ee8c3dc6b6ff9829f69a1339e0f82a877929c")
|
"git+https://github.com/goosemod/openasar.git#commit=f92ee8c3dc6b6ff9829f69a1339e0f82a877929c")
|
||||||
sha512sums=('c4042a56e8ad170901367ed562831d0f8933d8f0babf246639f8b5b17d7b437b58d6cf696f3c3d6a30674c041567115d0419a3e4c00de7064db58a4c77a61a93'
|
sha512sums=('ddb791e1a92a30f2cab24fd7a686b621be33d51c2a7c0a0eed3293b4edd05f814ea850cbf43c9910f4576b17dc9e9c1367960f3d1536e7ec1ede372904c6c424'
|
||||||
'4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666'
|
'4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666'
|
||||||
'42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c'
|
'42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c'
|
||||||
'4befe9f30b7d11da966692242353becca3f86f7d5b3eb73c48b6f42073b88f7c8a21141d3f84ee2ff10f74a4596d1391f0b200134599a36c9589074bec298573')
|
'4befe9f30b7d11da966692242353becca3f86f7d5b3eb73c48b6f42073b88f7c8a21141d3f84ee2ff10f74a4596d1391f0b200134599a36c9589074bec298573')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = discord-electron
|
pkgbase = discord-electron
|
||||||
pkgdesc = Discord using system provided electron (v33) for increased security and performance
|
pkgdesc = Discord using system provided electron (v33) for increased security and performance
|
||||||
pkgver = 0.0.71
|
pkgver = 0.0.72
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
url = https://discord.com
|
url = https://discord.com
|
||||||
install = discord-electron.install
|
install = discord-electron.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
@ -18,10 +18,10 @@ pkgbase = discord-electron
|
||||||
provides = discord
|
provides = discord
|
||||||
conflicts = discord
|
conflicts = discord
|
||||||
options = !strip
|
options = !strip
|
||||||
source = https://dl.discordapp.net/apps/linux/0.0.71/discord-0.0.71.tar.gz
|
source = https://dl.discordapp.net/apps/linux/0.0.72/discord-0.0.72.tar.gz
|
||||||
source = discord-launcher.sh
|
source = discord-launcher.sh
|
||||||
source = krisp-patcher.py
|
source = krisp-patcher.py
|
||||||
sha512sums = c4042a56e8ad170901367ed562831d0f8933d8f0babf246639f8b5b17d7b437b58d6cf696f3c3d6a30674c041567115d0419a3e4c00de7064db58a4c77a61a93
|
sha512sums = ddb791e1a92a30f2cab24fd7a686b621be33d51c2a7c0a0eed3293b4edd05f814ea850cbf43c9910f4576b17dc9e9c1367960f3d1536e7ec1ede372904c6c424
|
||||||
sha512sums = 4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666
|
sha512sums = 4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666
|
||||||
sha512sums = 42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c
|
sha512sums = 42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
pkgname=discord-electron
|
pkgname=discord-electron
|
||||||
_pkgname=discord
|
_pkgname=discord
|
||||||
pkgver=0.0.71
|
pkgver=0.0.72
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
_electronver=33
|
_electronver=33
|
||||||
_electronname="electron${_electronver}"
|
_electronname="electron${_electronver}"
|
||||||
pkgdesc="Discord using system provided electron (v${_electronver}) for increased security and performance"
|
pkgdesc="Discord using system provided electron (v${_electronver}) for increased security and performance"
|
||||||
|
@ -24,7 +24,7 @@ optdepends=(
|
||||||
source=("https://dl.discordapp.net/apps/linux/${pkgver}/${_pkgname}-${pkgver}.tar.gz"
|
source=("https://dl.discordapp.net/apps/linux/${pkgver}/${_pkgname}-${pkgver}.tar.gz"
|
||||||
'discord-launcher.sh'
|
'discord-launcher.sh'
|
||||||
'krisp-patcher.py') # original: https://github.com/sersorrel/sys/blob/main/hm/discord/krisp-patcher.py
|
'krisp-patcher.py') # original: https://github.com/sersorrel/sys/blob/main/hm/discord/krisp-patcher.py
|
||||||
sha512sums=('c4042a56e8ad170901367ed562831d0f8933d8f0babf246639f8b5b17d7b437b58d6cf696f3c3d6a30674c041567115d0419a3e4c00de7064db58a4c77a61a93'
|
sha512sums=('ddb791e1a92a30f2cab24fd7a686b621be33d51c2a7c0a0eed3293b4edd05f814ea850cbf43c9910f4576b17dc9e9c1367960f3d1536e7ec1ede372904c6c424'
|
||||||
'4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666'
|
'4497ff3df7e2c1e72eea09d6f36a80cabeabfd43bb03b0966795d45e10a02ea6b4c10407661092d057435e0d69d75e958a3dbb1dc5971a215ce09547ec56f666'
|
||||||
'42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c')
|
'42cef68c1f7d574b4fbe859a4dc616e8994c7d16f62bcae3ff1f88e1edc58ac37b39c238d7defa9c97ceda417fcd6224cf0a0fd2608b8d18d0877e3c1befa59c')
|
||||||
|
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
pkgbase = systemtap
|
|
||||||
pkgdesc = Infrastructure to simplify the gathering of information about the running Linux system
|
|
||||||
pkgver = 5.1
|
|
||||||
pkgrel = 1
|
|
||||||
url = https://sourceware.org/systemtap/
|
|
||||||
install = systemtap.install
|
|
||||||
arch = x86_64
|
|
||||||
license = GPL-2.0-or-later
|
|
||||||
makedepends = python-setuptools
|
|
||||||
makedepends = xmlto
|
|
||||||
depends = elfutils
|
|
||||||
depends = nss
|
|
||||||
depends = python
|
|
||||||
depends = cpio
|
|
||||||
optdepends = sqlite3: for storing results in a database
|
|
||||||
options = !emptydirs
|
|
||||||
source = https://sourceware.org/ftp/systemtap/releases/systemtap-5.1.tar.gz
|
|
||||||
source = https://sourceware.org/ftp/systemtap/releases/systemtap-5.1.tar.gz.asc
|
|
||||||
validpgpkeys = 41A0C11274B1E87FE28E4C53E3D77E1F95161991
|
|
||||||
sha512sums = da0fe237d2124031a5786d1221dbb420d90da5497376715fd43a7a9f61a354a229c1128e67ce6becbc012aa3796dc5d337149e239e3c1def0651b179e5bf199f
|
|
||||||
sha512sums = SKIP
|
|
||||||
|
|
||||||
pkgname = systemtap
|
|
|
@ -1,52 +0,0 @@
|
||||||
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
|
||||||
# Contributor: Christian Pellegrin (chripell) <chripell@fsfe.org>
|
|
||||||
# Contributor: An Nguyen (stk) <an@linux.com>
|
|
||||||
# Contributor: George Angelopoulos <george@usermod.net>
|
|
||||||
# Contributor: Christian Rebischke <Chris.Rebischke@archlinux.org>
|
|
||||||
# Contributor: dront78 <dront78@gmail.com>
|
|
||||||
|
|
||||||
pkgname=systemtap
|
|
||||||
pkgver=5.1
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="Infrastructure to simplify the gathering of information about the running Linux system"
|
|
||||||
url="https://sourceware.org/systemtap/"
|
|
||||||
arch=('x86_64')
|
|
||||||
license=('GPL-2.0-or-later')
|
|
||||||
depends=('elfutils' 'nss' 'python' 'cpio')
|
|
||||||
makedepends=('python-setuptools' 'xmlto')
|
|
||||||
optdepends=('sqlite3: for storing results in a database')
|
|
||||||
options=('!emptydirs')
|
|
||||||
install="${pkgname}.install"
|
|
||||||
source=("https://sourceware.org/ftp/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz"{,.asc})
|
|
||||||
sha512sums=('da0fe237d2124031a5786d1221dbb420d90da5497376715fd43a7a9f61a354a229c1128e67ce6becbc012aa3796dc5d337149e239e3c1def0651b179e5bf199f'
|
|
||||||
'SKIP')
|
|
||||||
|
|
||||||
validpgpkeys=('41A0C11274B1E87FE28E4C53E3D77E1F95161991')
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "${pkgname}-${pkgver}"
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libexecdir=/usr/lib/"${pkgname}" \
|
|
||||||
--libdir=/usr/lib/"${pkgname}" \
|
|
||||||
--mandir=/usr/share/man/ \
|
|
||||||
--sbindir=/usr/bin \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--enable-pie \
|
|
||||||
--disable-docs \
|
|
||||||
--enable-htmldocs \
|
|
||||||
--with-python3
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
|
||||||
cd "${pkgname}-${pkgver}"
|
|
||||||
make check
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "${pkgname}-${pkgver}"
|
|
||||||
make DESTDIR="${pkgdir}" install
|
|
||||||
rm -r "${pkgdir}/usr/include/sys"
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
post_install() {
|
|
||||||
getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr
|
|
||||||
getent group stapsys >/dev/null || groupadd -g 157 -r stapsys 2>/dev/null || groupadd -r stapsys
|
|
||||||
getent group stapdev >/dev/null || groupadd -g 158 -r stapdev 2>/dev/null || groupadd -r stapdev
|
|
||||||
|
|
||||||
getent group stapusr >/dev/null && chgrp stapusr /usr/bin/stapbpf
|
|
||||||
chmod 04110 /usr/bin/stapbpf
|
|
||||||
|
|
||||||
getent group stapusr >/dev/null && chgrp stapusr /usr/bin/staprun
|
|
||||||
chmod 04110 /usr/bin/staprun
|
|
||||||
|
|
||||||
echo "CONFIG_DEBUG_INFO is disabled on default. You need to recompile"
|
|
||||||
echo "the kernel with CONFIG_DEBUG_INFO enabled."
|
|
||||||
}
|
|
||||||
|
|
||||||
post_upgrade() {
|
|
||||||
post_install $1
|
|
||||||
}
|
|
|
@ -1,11 +1,12 @@
|
||||||
pkgbase = tuned
|
pkgbase = tuned-git
|
||||||
pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system
|
pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system
|
||||||
pkgver = 2.24.0
|
pkgver = 2.24.0.r6.g35eed3c
|
||||||
pkgrel = 3
|
pkgrel = 1
|
||||||
url = https://github.com/redhat-performance/tuned
|
url = https://github.com/redhat-performance/tuned
|
||||||
arch = any
|
arch = any
|
||||||
license = GPL-2.0-or-later
|
license = GPL-2.0-or-later
|
||||||
makedepends = desktop-file-utils
|
makedepends = desktop-file-utils
|
||||||
|
makedepends = git
|
||||||
depends = dbus-glib
|
depends = dbus-glib
|
||||||
depends = ethtool
|
depends = ethtool
|
||||||
depends = gawk
|
depends = gawk
|
||||||
|
@ -17,14 +18,16 @@ pkgbase = tuned
|
||||||
depends = python-linux-procfs
|
depends = python-linux-procfs
|
||||||
depends = python-perf
|
depends = python-perf
|
||||||
depends = python-pyudev
|
depends = python-pyudev
|
||||||
source = https://github.com/redhat-performance/tuned/archive/v2.24.0/tuned-2.24.0.tar.gz
|
source = git+https://github.com/redhat-performance/tuned.git
|
||||||
sha512sums = d004cd621e26195fff14b39f29b2143cf47de09641454acd3029d61142c3d000a452f018356c84c32772bd99fc766f6ee847d2a8eddbde8ae34aaa0ecefa644e
|
sha512sums = SKIP
|
||||||
|
|
||||||
pkgname = tuned
|
pkgname = tuned-git
|
||||||
optdepends = virt-what: virtual machine detection
|
optdepends = virt-what: virtual machine detection
|
||||||
optdepends = systemtap: detailed system monitoring
|
optdepends = systemtap: detailed system monitoring
|
||||||
optdepends = tuned-ppd: power-profiles-daemon api translation
|
optdepends = tuned-ppd: power-profiles-daemon api translation
|
||||||
optdepends = wireless_tools: wireless device power management
|
optdepends = wireless_tools: wireless device power management
|
||||||
|
provides = tuned
|
||||||
|
conflicts = tuned
|
||||||
backup = etc/tuned/active_profile
|
backup = etc/tuned/active_profile
|
||||||
backup = etc/tuned/bootcmdline
|
backup = etc/tuned/bootcmdline
|
||||||
backup = etc/tuned/cpu-partitioning-powersave-variables.conf
|
backup = etc/tuned/cpu-partitioning-powersave-variables.conf
|
||||||
|
@ -36,10 +39,12 @@ pkgname = tuned
|
||||||
backup = etc/tuned/realtime-virtual-host-variables.conf
|
backup = etc/tuned/realtime-virtual-host-variables.conf
|
||||||
backup = etc/tuned/tuned-main.conf
|
backup = etc/tuned/tuned-main.conf
|
||||||
|
|
||||||
pkgname = tuned-ppd
|
pkgname = tuned-ppd-git
|
||||||
pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)
|
pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)
|
||||||
depends = tuned
|
depends = tuned
|
||||||
|
provides = tuned-ppd
|
||||||
provides = power-profiles-daemon
|
provides = power-profiles-daemon
|
||||||
|
conflicts = tuned-ppd
|
||||||
conflicts = power-profiles-daemon
|
conflicts = power-profiles-daemon
|
||||||
options = !emptydirs
|
options = !emptydirs
|
||||||
backup = etc/tuned/ppd.conf
|
backup = etc/tuned/ppd.conf
|
|
@ -1,23 +1,32 @@
|
||||||
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
||||||
|
# Contributor: Wes Jackson <icebal dot 7 at gmail dot com>
|
||||||
# Contributor: Iwan Timmer <irtimmer@gmail.com>
|
# Contributor: Iwan Timmer <irtimmer@gmail.com>
|
||||||
# Contributor: Timothée Ravier <tim at siosm dot fr>
|
# Contributor: Timothée Ravier <tim at siosm dot fr>
|
||||||
# Contributor: Tom <reztho at archlinux dot org>
|
# Contributor: Tom <reztho at archlinux dot org>
|
||||||
|
|
||||||
pkgbase=tuned
|
_pkgbase=tuned
|
||||||
pkgname=("${pkgbase}" "${pkgbase}-ppd")
|
pkgbase="${_pkgbase}-git"
|
||||||
pkgver=2.24.0
|
pkgname=("${_pkgbase}-git" "${_pkgbase}-ppd-git")
|
||||||
pkgrel=3
|
pkgver=2.24.0.r6.g35eed3c
|
||||||
|
pkgrel=1
|
||||||
pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system'
|
pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/redhat-performance/${pkgbase}"
|
url="https://github.com/redhat-performance/${_pkgbase}"
|
||||||
license=('GPL-2.0-or-later')
|
license=('GPL-2.0-or-later')
|
||||||
depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj' 'python-dbus' 'python-gobject' 'python-linux-procfs' 'python-perf' 'python-pyudev')
|
depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj'
|
||||||
makedepends=('desktop-file-utils')
|
'python-dbus' 'python-gobject' 'python-linux-procfs' 'python-perf'
|
||||||
source=("https://github.com/redhat-performance/${pkgbase}/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz")
|
'python-pyudev')
|
||||||
sha512sums=('d004cd621e26195fff14b39f29b2143cf47de09641454acd3029d61142c3d000a452f018356c84c32772bd99fc766f6ee847d2a8eddbde8ae34aaa0ecefa644e')
|
makedepends=('desktop-file-utils' 'git')
|
||||||
|
source=("git+${url}.git")
|
||||||
|
sha512sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "${_pkgbase}"
|
||||||
|
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/^v//g;s/-/./g'
|
||||||
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${pkgbase}-${pkgver}"
|
cd "${_pkgbase}"
|
||||||
mv libexec lib
|
mv libexec lib
|
||||||
|
|
||||||
sed -i 's|/libexec/|/lib/|g' Makefile
|
sed -i 's|/libexec/|/lib/|g' Makefile
|
||||||
|
@ -25,11 +34,13 @@ prepare() {
|
||||||
sed -i 's|install-ppd: install$|install-ppd: install-dirs|' Makefile
|
sed -i 's|install-ppd: install$|install-ppd: install-dirs|' Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
package_tuned() {
|
package_tuned-git() {
|
||||||
optdepends=('virt-what: virtual machine detection'
|
optdepends=('virt-what: virtual machine detection'
|
||||||
'systemtap: detailed system monitoring'
|
'systemtap: detailed system monitoring'
|
||||||
'tuned-ppd: power-profiles-daemon api translation'
|
'tuned-ppd: power-profiles-daemon api translation'
|
||||||
'wireless_tools: wireless device power management')
|
'wireless_tools: wireless device power management')
|
||||||
|
provides=("${_pkgbase}")
|
||||||
|
conflicts=("${_pkgbase}")
|
||||||
backup=('etc/tuned/active_profile'
|
backup=('etc/tuned/active_profile'
|
||||||
'etc/tuned/bootcmdline'
|
'etc/tuned/bootcmdline'
|
||||||
'etc/tuned/cpu-partitioning-powersave-variables.conf'
|
'etc/tuned/cpu-partitioning-powersave-variables.conf'
|
||||||
|
@ -41,7 +52,7 @@ package_tuned() {
|
||||||
'etc/tuned/realtime-virtual-host-variables.conf'
|
'etc/tuned/realtime-virtual-host-variables.conf'
|
||||||
'etc/tuned/tuned-main.conf')
|
'etc/tuned/tuned-main.conf')
|
||||||
|
|
||||||
cd "${pkgbase}-${pkgver}"
|
cd "${_pkgbase}"
|
||||||
|
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
rm -rv "${pkgdir}"/{run,var}
|
rm -rv "${pkgdir}"/{run,var}
|
||||||
|
@ -50,15 +61,15 @@ package_tuned() {
|
||||||
python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib"
|
python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_tuned-ppd() {
|
package_tuned-ppd-git() {
|
||||||
pkgdesc='Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)'
|
pkgdesc='Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)'
|
||||||
depends=('tuned')
|
depends=("${_pkgbase}")
|
||||||
provides=('power-profiles-daemon')
|
provides=("${_pkgbase}-ppd" 'power-profiles-daemon')
|
||||||
conflicts=('power-profiles-daemon')
|
conflicts=("${_pkgbase}-ppd" 'power-profiles-daemon')
|
||||||
backup=('etc/tuned/ppd.conf')
|
backup=('etc/tuned/ppd.conf')
|
||||||
options=('!emptydirs')
|
options=('!emptydirs')
|
||||||
|
|
||||||
cd "${pkgbase}-${pkgver}"
|
cd "${_pkgbase}"
|
||||||
|
|
||||||
make DESTDIR="${pkgdir}" install-ppd
|
make DESTDIR="${pkgdir}" install-ppd
|
||||||
}
|
}
|
Loading…
Reference in a new issue