diff options
author | GiacoLenzo2109 | 2021-02-25 15:56:38 +0100 |
---|---|---|
committer | GiacoLenzo2109 | 2021-02-25 15:56:38 +0100 |
commit | d814996186b8c3dc6b75ebec5fccb73cb2e3c22d (patch) | |
tree | d0bf51ee3bf7fcb8d1c42daf7f05b311c00c28e3 /PKGBUILD | |
download | aur-croco-gnome-settings.tar.gz |
Upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b29639381f99 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: GiacoLenzo2109 <GiacoLenzo2109@gmail.com> +# Contributor: Librewish <librewish@gmail.com> + +pkgbase=croco-gnome-settings +_gitname=croco-gnome-settings +pkgname=( + 'croco-gnome-settings' + ) +pkgver=r77.94ad064 +pkgrel=1 +arch=('any') +_branch='master' +url="https://gitlab.com/croco-os/themes-and-settings/settings/croco-gnome-settings" +license=('GPL') +makedepends=('git') +source=("git+$url.git#branch=${_branch}") +sha256sums=('SKIP') + +_install() { + if [[ -d $srcdir/$_gitname/$1/etc ]]; then + install -d $pkgdir/etc + cp -rf $srcdir/$_gitname/$1/etc $pkgdir + fi + + if [[ -d $srcdir/$_gitname/$1/usr ]]; then + install -d $pkgdir/etc + cp -rf $srcdir/$_gitname/$1/usr $pkgdir + fi + + if [[ -d $srcdir/$_gitname/$1/skel ]]; then + install -d $pkgdir/etc + cp -rf $srcdir/$_gitname/$1/skel $pkgdir/etc + fi + +} + +pkgver() { + cd "$srcdir/croco-gnome-settings" + +# Git, no tags available + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + +} + +package_croco-gnome-settings() { + pkgdesc='Croco OS GNOME settings' + depends=( + 'croco-common-settings' + 'kvantum-qt5' + 'nerd-fonts-fantasque-sans-mono' + 'qt5ct' + 'yaru-sound-theme' + ) + + install=croco-gnome-settings.install + provides=('croco-desktop-settings') + conflicts=('croco-desktop-settings' 'sweet-theme-dark' 'sweet-theme-git' 'kvantum-theme-sweet-git' 'xcursor-sweet') + + _install '' +} |