[arch-commits] Commit in xdg-user-dirs/repos/extra-x86_64 (6 files)

Jan Steffens heftig at gemini.archlinux.org
Tue Aug 9 20:16:17 UTC 2022


    Date: Tuesday, August 9, 2022 @ 20:16:17
  Author: heftig
Revision: 452485

archrelease: copy trunk to extra-x86_64

Added:
  xdg-user-dirs/repos/extra-x86_64/PKGBUILD
    (from rev 452483, xdg-user-dirs/trunk/PKGBUILD)
  xdg-user-dirs/repos/extra-x86_64/xdg-user-dirs-update.service
    (from rev 452483, xdg-user-dirs/trunk/xdg-user-dirs-update.service)
  xdg-user-dirs/repos/extra-x86_64/xdg-user-dirs.install
    (from rev 452483, xdg-user-dirs/trunk/xdg-user-dirs.install)
Deleted:
  xdg-user-dirs/repos/extra-x86_64/PKGBUILD
  xdg-user-dirs/repos/extra-x86_64/xdg-user-dirs-update.service
  xdg-user-dirs/repos/extra-x86_64/xdg-user-dirs.install

------------------------------+
 PKGBUILD                     |   92 ++++++++++++++++++++---------------------
 xdg-user-dirs-update.service |   20 ++++----
 xdg-user-dirs.install        |   28 ++++++------
 3 files changed, 70 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-09 20:16:17 UTC (rev 452484)
+++ PKGBUILD	2022-08-09 20:16:17 UTC (rev 452485)
@@ -1,46 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-# Contributor:  <mathieu.clabaut at gmail.com>
-
-pkgname=xdg-user-dirs
-pkgver=0.17
-pkgrel=3
-pkgdesc="Manage user directories like ~/Desktop and ~/Music"
-arch=(x86_64)
-url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
-license=(GPL)
-depends=(sh systemd)
-makedepends=(docbook-xsl git)
-backup=(etc/xdg/user-dirs.conf etc/xdg/user-dirs.defaults)
-install=xdg-user-dirs.install
-options=(!emptydirs)
-_commit=ec015cdd345dec8025948533e7a6f18680e7f70c  # tags/0.17^0
-source=("git+https://gitlab.freedesktop.org/xdg/xdg-user-dirs.git#commit=$_commit"
-        xdg-user-dirs-update.service)
-sha256sums=('SKIP'
-            '53c75f52d782e9492601400236bc8e5bfa76a26f0afd9bce3fe8df1740d341f0')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc
-  make
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install 
-
-  # We use a service
-  rm "$pkgdir/etc/xdg/autostart/xdg-user-dirs.desktop"
-  install -Dt "$pkgdir/usr/lib/systemd/user" -m644 ../xdg-user-dirs-update.service
-}

Copied: xdg-user-dirs/repos/extra-x86_64/PKGBUILD (from rev 452483, xdg-user-dirs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-09 20:16:17 UTC (rev 452485)
@@ -0,0 +1,46 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor:  <mathieu.clabaut at gmail.com>
+
+pkgname=xdg-user-dirs
+pkgver=0.18
+pkgrel=1
+pkgdesc="Manage user directories like ~/Desktop and ~/Music"
+url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
+arch=(x86_64)
+license=(GPL)
+depends=(sh systemd)
+makedepends=(docbook-xsl git)
+backup=(etc/xdg/user-dirs.conf etc/xdg/user-dirs.defaults)
+install=xdg-user-dirs.install
+options=(!emptydirs debug)
+_commit=52e71ff04416f2ca3adaf6d73193de4b8b83de46  # tags/0.18^0
+source=("git+https://gitlab.freedesktop.org/xdg/xdg-user-dirs.git#commit=$_commit"
+        xdg-user-dirs-update.service)
+sha256sums=('SKIP'
+            '53c75f52d782e9492601400236bc8e5bfa76a26f0afd9bce3fe8df1740d341f0')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install 
+
+  # We use a service
+  rm "$pkgdir/etc/xdg/autostart/xdg-user-dirs.desktop"
+  install -Dt "$pkgdir/usr/lib/systemd/user" -m644 ../xdg-user-dirs-update.service
+}

Deleted: xdg-user-dirs-update.service
===================================================================
--- xdg-user-dirs-update.service	2022-08-09 20:16:17 UTC (rev 452484)
+++ xdg-user-dirs-update.service	2022-08-09 20:16:17 UTC (rev 452485)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Update XDG user dir configuration
-Documentation=man:xdg-user-dirs-update(1)
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/xdg-user-dirs-update
-
-[Install]
-WantedBy=default.target

Copied: xdg-user-dirs/repos/extra-x86_64/xdg-user-dirs-update.service (from rev 452483, xdg-user-dirs/trunk/xdg-user-dirs-update.service)
===================================================================
--- xdg-user-dirs-update.service	                        (rev 0)
+++ xdg-user-dirs-update.service	2022-08-09 20:16:17 UTC (rev 452485)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Update XDG user dir configuration
+Documentation=man:xdg-user-dirs-update(1)
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/xdg-user-dirs-update
+
+[Install]
+WantedBy=default.target

Deleted: xdg-user-dirs.install
===================================================================
--- xdg-user-dirs.install	2022-08-09 20:16:17 UTC (rev 452484)
+++ xdg-user-dirs.install	2022-08-09 20:16:17 UTC (rev 452485)
@@ -1,14 +0,0 @@
-post_install() {
-  # Enable update by default
-  systemctl --global enable xdg-user-dirs-update.service
-}
-
-post_upgrade() {
-  if (( $(vercmp $2 0.15-3) < 0)); then
-    systemctl --global enable xdg-user-dirs-update.service
-  fi
-}
-
-pre_remove() {
-  systemctl --global disable xdg-user-dirs-update.service
-}

Copied: xdg-user-dirs/repos/extra-x86_64/xdg-user-dirs.install (from rev 452483, xdg-user-dirs/trunk/xdg-user-dirs.install)
===================================================================
--- xdg-user-dirs.install	                        (rev 0)
+++ xdg-user-dirs.install	2022-08-09 20:16:17 UTC (rev 452485)
@@ -0,0 +1,14 @@
+post_install() {
+  # Enable update by default
+  systemctl --global enable xdg-user-dirs-update.service
+}
+
+post_upgrade() {
+  if (( $(vercmp $2 0.15-3) < 0)); then
+    systemctl --global enable xdg-user-dirs-update.service
+  fi
+}
+
+pre_remove() {
+  systemctl --global disable xdg-user-dirs-update.service
+}



More information about the arch-commits mailing list