Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesD/dconf.git

subrepo:
  subdir:   "dconf"
  merged:   "8975f67"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesD/dconf.git"
  branch:   "master"
  commit:   "8975f67"
git-subrepo:
  version:  "0.4.0"
  origin:   "???"
  commit:   "???"
master
artoo 2 years ago
parent
commit
64edfa2a0f
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 5
      dconf/.artixlinux/agent.yaml
  2. 33
      dconf/.gitignore
  3. 12
      dconf/.gitrepo
  4. 3
      dconf/Jenkinsfile
  5. 2
      dconf/README.md
  6. 46
      dconf/repos/extra-x86_64/PKGBUILD
  7. 12
      dconf/repos/extra-x86_64/dconf-update.hook
  8. 9
      dconf/repos/extra-x86_64/dconf-update.script
  9. 11
      dconf/repos/extra-x86_64/dconf.install
  10. 46
      dconf/trunk/PKGBUILD
  11. 12
      dconf/trunk/dconf-update.hook
  12. 9
      dconf/trunk/dconf-update.script
  13. 11
      dconf/trunk/dconf.install

5
dconf/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

33
dconf/.gitignore

@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab
# ---> systemd
*.service
*.socket
*.timer
# ---> snap
*.snap

12
dconf/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesD/dconf.git
branch = master
commit = 8975f67865c05189126161362355e951a6698530
parent = 847b8adf98b7f38dd7a924e4a5cc0a9402f7cfb2
method = merge
cmdver = 0.4.0

3
dconf/Jenkinsfile

@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
dconf/README.md

@ -0,0 +1,2 @@
# dconf

46
dconf/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,46 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgname=dconf
pkgver=0.32.0
pkgrel=3
pkgdesc="Configuration database system"
url="https://wiki.gnome.org/Projects/dconf"
arch=(x86_64)
license=(LGPL2.1)
depends=(glib2)
makedepends=(vala dbus git gtk-doc python meson bash-completion)
install=dconf.install
_commit=7419a726a2dbaca7781cec4eeb65bd1334a523d7 # tags/0.32.0^0
source=("git+https://gitlab.gnome.org/GNOME/dconf.git#commit=$_commit"
dconf-update.{hook,script})
sha256sums=('SKIP'
'51b5c5570eac4792eb4a0efe820e3451b2019501855e57974fcd18986cf86977'
'330142605370f82f4229e8a94b245f911407eb629b50f1497f415c70164a90ec')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build -D gtk_doc=true
ninja -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="$pkgdir" meson install -C build
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 dconf-update.hook
install -D dconf-update.script "$pkgdir/usr/share/libalpm/scripts/dconf-update"
install -Dm644 /dev/null "$pkgdir/etc/dconf/db/.placeholder"
}
# vim:set sw=2 et:

12
dconf/repos/extra-x86_64/dconf-update.hook

@ -0,0 +1,12 @@
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = etc/dconf/db/*.d/
[Action]
Description = Updating system dconf databases...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/dconf-update
NeedsTargets

9
dconf/repos/extra-x86_64/dconf-update.script

@ -0,0 +1,9 @@
#!/bin/bash
while read -r d; do
if [[ ! -d $d ]]; then
rm -f "${d%.d/}"
fi
done
dconf update

11
dconf/repos/extra-x86_64/dconf.install

@ -0,0 +1,11 @@
post_install() {
post_upgrade $1 0
}
post_upgrade() {
if (( $(vercmp $2 0.32.0-2) < 0 )); then
dconf update
fi
}
# vim:set sw=2 et:

46
dconf/trunk/PKGBUILD

@ -0,0 +1,46 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgname=dconf
pkgver=0.32.0
pkgrel=3
pkgdesc="Configuration database system"
url="https://wiki.gnome.org/Projects/dconf"
arch=(x86_64)
license=(LGPL2.1)
depends=(glib2)
makedepends=(vala dbus git gtk-doc python meson bash-completion)
install=dconf.install
_commit=7419a726a2dbaca7781cec4eeb65bd1334a523d7 # tags/0.32.0^0
source=("git+https://gitlab.gnome.org/GNOME/dconf.git#commit=$_commit"
dconf-update.{hook,script})
sha256sums=('SKIP'
'51b5c5570eac4792eb4a0efe820e3451b2019501855e57974fcd18986cf86977'
'330142605370f82f4229e8a94b245f911407eb629b50f1497f415c70164a90ec')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
arch-meson $pkgname build -D gtk_doc=true
ninja -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="$pkgdir" meson install -C build
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 dconf-update.hook
install -D dconf-update.script "$pkgdir/usr/share/libalpm/scripts/dconf-update"
install -Dm644 /dev/null "$pkgdir/etc/dconf/db/.placeholder"
}
# vim:set sw=2 et:

12
dconf/trunk/dconf-update.hook

@ -0,0 +1,12 @@
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = etc/dconf/db/*.d/
[Action]
Description = Updating system dconf databases...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/dconf-update
NeedsTargets

9
dconf/trunk/dconf-update.script

@ -0,0 +1,9 @@
#!/bin/bash
while read -r d; do
if [[ ! -d $d ]]; then
rm -f "${d%.d/}"
fi
done
dconf update

11
dconf/trunk/dconf.install

@ -0,0 +1,11 @@
post_install() {
post_upgrade $1 0
}
post_upgrade() {
if (( $(vercmp $2 0.32.0-2) < 0 )); then
dconf update
fi
}
# vim:set sw=2 et:
Loading…
Cancel
Save