[arch-commits] Commit in switchboard-plug-power/repos/community-x86_64 (2 files)

Maxime Gauduin alucryd at archlinux.org
Mon May 13 13:14:47 UTC 2019


    Date: Monday, May 13, 2019 @ 13:14:47
  Author: alucryd
Revision: 467131

archrelease: copy trunk to community-x86_64

Added:
  switchboard-plug-power/repos/community-x86_64/PKGBUILD
    (from rev 467130, switchboard-plug-power/trunk/PKGBUILD)
Deleted:
  switchboard-plug-power/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 38 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-13 13:14:39 UTC (rev 467130)
+++ PKGBUILD	2019-05-13 13:14:47 UTC (rev 467131)
@@ -1,34 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=switchboard-plug-power
-pkgver=2.3.5
-pkgrel=1
-pkgdesc='Power plug for Switchboard'
-arch=(x86_64)
-url=https://github.com/elementary/switchboard-plug-power
-license=(GPL3)
-groups=(pantheon)
-depends=(
-  glib2
-  gtk3
-  libgee
-  libswitchboard-2.0.so
-)
-makedepends=(
-  git
-  meson
-  vala
-)
-source=(git+https://github.com/elementary/switchboard-plug-power.git#tag=${pkgver})
-sha256sums=(SKIP)
-
-build() {
-  arch-meson switchboard-plug-power build
-  ninja -C build
-}
-
-package() {
-  DESTDIR="${pkgdir}" ninja -C build install
-}
-
-# vim: ts=2 sw=2 et:

Copied: switchboard-plug-power/repos/community-x86_64/PKGBUILD (from rev 467130, switchboard-plug-power/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-13 13:14:47 UTC (rev 467131)
@@ -0,0 +1,38 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=switchboard-plug-power
+pkgver=2.3.5
+pkgrel=2
+pkgdesc='Switchboard Power Plug'
+arch=(x86_64)
+url=https://github.com/elementary/switchboard-plug-power
+license=(GPL3)
+groups=(pantheon)
+depends=(
+  glib2
+  gtk3
+  libgee
+  libswitchboard-2.0.so
+)
+makedepends=(
+  git
+  meson
+  vala
+)
+source=(git+https://github.com/elementary/switchboard-plug-power.git#tag=${pkgver})
+sha256sums=(SKIP)
+
+prepare() {
+  sed "s/dbus_dep.get_pkgconfig_variable('sysconfdir')/dbus_dep.get_pkgconfig_variable('datadir')/" -i switchboard-plug-power/cli/meson.build
+}
+
+build() {
+  arch-meson switchboard-plug-power build
+  ninja -C build
+}
+
+package() {
+  DESTDIR="${pkgdir}" ninja -C build install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list