pkgbase=desktop-presets
#pkgbase=artix-${_pkgbase}
pkgname=('artix-common-presets' 'artix-mate-presets' 'artix-lxqt-presets' 'artix-lxde-presets')
pkgver=0.8+16+gac1c8c1
pkgrel=1
pkgdesc='Artix graphical ISO presets'
arch=('any')
groups=(${pkgbase})
url="https://gitea.artixlinux.org/artix/desktop-presets"
license=('GPL')
depends=('artix-dark-theme' 'artix-common-presets')
conflicts=('desktop-presets')
makedepends=('git')
_commit=ac1c8c1edb95d26953966386177d9d815d1b16b8
source=("git+$url.git#commit=${_commit}")
sha256sums=('SKIP')
pkgver() {
cd ${pkgbase}
git describe --tags | sed 's/-/+/g'
}
_inst_dir(){
cd ${pkgbase} #-${pkgver}
local profile="$1"
if [[ -d $profile/skel ]];then
install -d ${pkgdir}/etc
cp -vr $profile/skel ${pkgdir}/etc
fi
if [[ -d $profile/schemas ]];then
install -d ${pkgdir}/usr/share/glib-2.0
cp -vr $profile/schemas ${pkgdir}/usr/share/glib-2.0
fi
if [[ -d $profile/dconf ]];then
install -d ${pkgdir}/etc
cp -vr $profile/dconf ${pkgdir}/etc
fi
if [[ -d $profile/scripts ]];then
install -d ${pkgdir}/usr/bin
cp -v $profile/scripts/* ${pkgdir}/usr/bin
fi
}
package_artix-common-presets() {
pkgdesc='Artix ISO presets, common files'
_inst_dir 'common'
}
package_artix-mate-presets() {
pkgdesc='Artix MATE ISO presets'
provides=('desktop-presets')
_inst_dir 'mate'
}
package_artix-lxqt-presets() {
pkgdesc='Artix LXQt ISO presets'
provides=('desktop-presets')
_inst_dir 'lxqt'
}
package_artix-lxde-presets() {
pkgdesc='Artix LXDE ISO presets'
provides=('desktop-presets')
_inst_dir 'lxde'
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}