Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: cachyos-ananicy-rules-git #5119

Merged
merged 13 commits into from
Dec 28, 2023
Merged
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
@@ -41,6 +41,7 @@ brave-browser-nightly-deb
brave-keyring-deb
btop-bin
btrfs-du-bin
cachyos-ananicy-rules-git
cantata
caprine-deb
celeste-bin
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name="cachyos-ananicy-rules-git"
gives="cachyos-ananicy-rules"
pkgver="0.0.1"
pkgdesc="ananicy-cpp rules for CachyOS"
pacdeps=('ananicy-cpp')
homepage="https://github.com/CachyOS/ananicy-rules"
url="https://github.com/CachyOS/ananicy-rules.git"
maintainer="vigress8 <vig@disroot.org>"
pkgver() {
git ls-remote "${url}" master | cut -f1 | cut -c1-8
}

package() {
sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${gives}"
rm -f README.md LICENSE
sudo install -d "${pkgdir}/etc/ananicy.d"
sudo cp -rf ./* "${pkgdir}/etc/ananicy.d"
}