mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
85 lines
3.6 KiB
Bash
85 lines
3.6 KiB
Bash
# Include global configuration
|
|
|
|
pkgname=chakra-common
|
|
arch=('x86_64')
|
|
pkgver=18.08.3
|
|
pkgrel=6
|
|
pkgdesc="Common configuration files, scripts and artwork"
|
|
url="http://chakralinux.org"
|
|
license=('GPL' 'BSD')
|
|
groups=("kde" "kde-minimal" "kde-uninstall")
|
|
depends=("qt5-base"
|
|
'pinentry'
|
|
'openssh'
|
|
'bash>=4.2'
|
|
'python3' 'python3-jinja' 'python3-pyelftools' 'python3-tqdm')
|
|
backup=('etc/profile.d/inputmethod.sh')
|
|
install=chakra-common.install
|
|
source=('Chakra-Bugs.desktop'
|
|
'Chakra-ChangeLog.desktop'
|
|
'Chakra-Code.desktop'
|
|
'Chakra-Documentation.desktop'
|
|
'Chakra-Donate.desktop'
|
|
'Chakra-Forum.desktop'
|
|
'Chakra-Homepage.desktop'
|
|
'Chakra.directory'
|
|
#'chakra-backup.sh'
|
|
#'Chakra-backup.desktop'
|
|
'chakra-icons.tar.gz'
|
|
#'chakra-helper.sh'
|
|
'kde4.sh'
|
|
'inputmethod.profile'
|
|
'chakra-check-links.py::https://raw.githubusercontent.com/Inkane/listMissingLibs/master/list_missing_libs.py')
|
|
sha256sums=('24e3e543fbeeb9bd902703e49dd682001c85c8faee85a6795d2501b65badfcda'
|
|
'f470c6e7a6bb09f4815e31dd369f4aee4ded0d2697f2c61c7036097b8829db63'
|
|
'528ac5b202f60893aed5e1949a23851afb6a14cf13aca2510fa4f1811349fb8d'
|
|
'32bfff6a840c1c3383dfffd73a7a52aed528084a391e7b2d7d875bfc4b0e45d0'
|
|
'23e22cbbd1d7a6630717a1e06698b0735e780189af780292de9d7d5bfa0a0faa'
|
|
'9bdc5320ed9efdf3dbbd6c3f81058bc725e34c4eeaafba252896bcb61300e8ad'
|
|
'e9d138eadbf35808f0253e16c2f6d5d672d662937f70618e109f8a58b92e2f98'
|
|
'cf6be6c5dd059021b140f97f82be4ed33e887aa8b588b5d4adb0b035d05a90a6'
|
|
'b20160225a990513ae58027b7e70bb958253da881be02f296e54e9ccca09b348'
|
|
'7e4ae4587973d6cc253b20ff7573ac25801f148f794a9000901c5137cd4780b3'
|
|
'c931c42f3286b0f02b0ab192dfe580952dcb677a74f3fb393d17bae30ec1cf79'
|
|
'cad07d94408ba5c385b483316098dbffc35ab7220990c4c607634eb2f4a2399f')
|
|
|
|
package() {
|
|
# Install scripts for kf5
|
|
install -D -m755 -o root -g root $srcdir/kde4.sh $pkgdir/etc/xdg/plasma-workspace/env/kde4.sh
|
|
|
|
# Install backup script
|
|
#install -D -m755 -o root -g root ${srcdir}/chakra-backup.sh ${pkgdir}/usr/bin/chakra-backup
|
|
#install -D -m644 -o root -g root ${srcdir}/Chakra-backup.desktop ${pkgdir}/usr/share/applications/Chakra-backup.desktop
|
|
|
|
# Install Chakra icons
|
|
cd ${srcdir}/chakra-icons/
|
|
mkdir -p ${pkgdir}/usr/share/icons/hicolor/scalable/apps/
|
|
for n in flat shiny smooth shield; do
|
|
for i in 128 64 48 32 22 16; do
|
|
mkdir -p ${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/
|
|
install -D -m755 chakra-${n}-${i}.png ${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/chakra-${n}.png
|
|
done
|
|
install -D -m755 chakra-${n}.svgz ${pkgdir}/usr/share/icons/hicolor/scalable/apps/chakra-${n}.svgz
|
|
done
|
|
|
|
# Install menu entries
|
|
cd ${srcdir}
|
|
install -m755 -d ${pkgdir}/usr/share/desktop-directories
|
|
install -m755 -d ${pkgdir}/usr/share/applications
|
|
install -m755 -d ${pkgdir}/usr/share/pixmaps
|
|
install -m644 Chakra*.desktop ${pkgdir}/usr/share/applications
|
|
install -m644 Chakra.directory ${pkgdir}/usr/share/desktop-directories/
|
|
|
|
# chakra-paste
|
|
#install -Dm755 chakra-paste-chakra-paste/chakra-paste "${pkgdir}/usr/bin/chakra-paste"
|
|
|
|
# chakra-helper
|
|
# install -Dm755 chakra-helper.sh "${pkgdir}/usr/bin/chakra-helper"
|
|
|
|
# chakra-check-links
|
|
install -Dm755 chakra-check-links.py "${pkgdir}/usr/bin/chakra-check-links"
|
|
|
|
# inputmethod support
|
|
install -Dm644 inputmethod.profile $pkgdir/etc/profile.d/inputmethod.sh
|
|
}
|