Browse Source
Add script for finding KDE packages on Arch Linux
master
Pekka Helenius
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
13 additions and
0 deletions
-
misc/kdepkgs.sh
|
|
@ -0,0 +1,13 @@ |
|
|
|
#!/bin/env bash |
|
|
|
# Simple core KDE package finder on Arch Linux |
|
|
|
# Pekka Helenius, 2018 |
|
|
|
|
|
|
|
pattern="https://community.kde.org/Frameworks" |
|
|
|
|
|
|
|
IFS=$'\n' |
|
|
|
for pkg in $(pacman -Q | awk '{print $1}'); do |
|
|
|
if [[ $(printf $(pacman -Qi $pkg | grep -E ${pattern} &> /dev/null)$?) -eq 0 ]]; then |
|
|
|
echo $pkg |
|
|
|
fi |
|
|
|
done |
|
|
|
unset IFS |