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
Show file tree
Hide file tree
Changes from 8 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
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name="cachyos-ananicy-rules-git"
gives="cachyos-ananicy-rules"
pkgver="20231011"
vigress8 marked this conversation as resolved.
Show resolved Hide resolved
pkgdesc="ananicy-cpp rules for CachyOS"
pacdeps=('ananicy-cpp')
homepage="https://github.com/CachyOS/ananicy-rules"
Elsie19 marked this conversation as resolved.
Show resolved Hide resolved
url="${homepage}.git"
vigress8 marked this conversation as resolved.
Show resolved Hide resolved
maintainer="vigress8 <[email protected]>"

vigress8 marked this conversation as resolved.
Show resolved Hide resolved
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"
Elsie19 marked this conversation as resolved.
Show resolved Hide resolved
}
Loading