[arch-commits] Commit in xsettingsd/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Aug 9 11:16:39 UTC 2021


    Date: Monday, August 9, 2021 @ 11:16:39
  Author: arojas
Revision: 997257

archrelease: copy trunk to community-x86_64

Added:
  xsettingsd/repos/community-x86_64/PKGBUILD
    (from rev 997256, xsettingsd/trunk/PKGBUILD)
Deleted:
  xsettingsd/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   49 ++++++++++++++++++++++++-------------------------
 1 file changed, 24 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-09 11:16:31 UTC (rev 997256)
+++ PKGBUILD	2021-08-09 11:16:39 UTC (rev 997257)
@@ -1,25 +0,0 @@
-# Maintainer: Alad Wenter <alad at archlinux.org>
-pkgname=xsettingsd
-pkgver=1.0.0
-pkgrel=3
-pkgdesc="Provides settings to X11 applications via the XSETTINGS specification"
-arch=('x86_64')
-url="https://github.com/derat/xsettingsd"
-license=('custom:BSD')
-depends=('libx11' 'gcc-libs')
-makedepends=('git' 'scons')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-md5sums=('7a1747dd1716cfa697f515e36308e8d4')
-
-build() {
-    cd "$pkgname-$pkgver"
-    env CPPFLAGS="$CXXFLAGS" scons xsettingsd dump_xsettings
-}
-
-package() {
-    cd "$pkgname-$pkgver"
-
-    install -Dm755 xsettingsd dump_xsettings -t "$pkgdir/usr/bin/"
-    install -Dm644 xsettingsd.1 dump_xsettings.1 -t "$pkgdir/usr/share/man/man1/"
-    install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
-}

Copied: xsettingsd/repos/community-x86_64/PKGBUILD (from rev 997256, xsettingsd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-09 11:16:39 UTC (rev 997257)
@@ -0,0 +1,24 @@
+# Maintainer: Alad Wenter <alad at archlinux.org>
+
+pkgname=xsettingsd
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Provides settings to X11 applications via the XSETTINGS specification"
+arch=('x86_64')
+url="https://github.com/derat/xsettingsd"
+license=('custom:BSD')
+depends=('libx11' 'gcc-libs')
+makedepends=('cmake')
+source=(https://github.com/derat/xsettingsd/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('69b5d1987608d1b5f2a0085f2f88cc55936a99b92279118e655d665ebb5e50d3')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+  install -Dm644 $pkgname-$pkgver/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list