[arch-commits] Commit in gsmartcontrol/repos/community-x86_64 (6 files)

Jelle van der Waa jelle at archlinux.org
Fri May 24 21:18:44 UTC 2019


    Date: Friday, May 24, 2019 @ 21:18:43
  Author: jelle
Revision: 469663

archrelease: copy trunk to community-x86_64

Added:
  gsmartcontrol/repos/community-x86_64/PKGBUILD
    (from rev 469662, gsmartcontrol/trunk/PKGBUILD)
  gsmartcontrol/repos/community-x86_64/gsmartcontrol_polkit
    (from rev 469662, gsmartcontrol/trunk/gsmartcontrol_polkit)
  gsmartcontrol/repos/community-x86_64/org.archlinux.pkexec.gsmartcontrol.policy
    (from rev 469662, gsmartcontrol/trunk/org.archlinux.pkexec.gsmartcontrol.policy)
Deleted:
  gsmartcontrol/repos/community-x86_64/PKGBUILD
  gsmartcontrol/repos/community-x86_64/gsmartcontrol_polkit
  gsmartcontrol/repos/community-x86_64/org.archlinux.pkexec.gsmartcontrol.policy

----------------------+
 PKGBUILD             |  101 ++++++++++++++++++++++++-------------------------
 gsmartcontrol_polkit |   12 ++---
 2 files changed, 57 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-24 21:18:35 UTC (rev 469662)
+++ PKGBUILD	2019-05-24 21:18:43 UTC (rev 469663)
@@ -1,50 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-
-pkgname=gsmartcontrol
-pkgver=1.1.3
-pkgrel=1
-pkgdesc="A graphical user interface for the smartctl hard disk drive health inspection tool."
-arch=('x86_64')
-url="http://gsmartcontrol.sourceforge.net/home/"
-license=('GPL3')
-depends=('smartmontools' 'gtkmm3' 'xorg-xmessage' 'hicolor-icon-theme')
-optdepends=('polkit: to run gsmartcontrol directly from menu')
-source=("http://sourceforge.net/projects/gsmartcontrol/files/${pkgver}/gsmartcontrol-${pkgver}.tar.bz2"
-        org.archlinux.pkexec.gsmartcontrol.policy
-        gsmartcontrol_polkit)
-md5sums=('6953ed6f90b2551ebdb1ae2470f4acdc'
-         '503989a7e6a9a287d81e91243d03f162'
-         '33bdda04d8db1525f2507485f3f2a663')
-
-prepare() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-
-        # Modify desktop file
-        sed -i "s|^Exec=.*|Exec="@prefix@/bin/gsmartcontrol_polkit"|" \
-                data/gsmartcontrol.desktop.in
-}
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	CXXFLAGS+=' -std=c++11' ./configure --prefix=/usr --sbindir=/usr/bin/
-	make 
-}
-
-check() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-        make check
-}
-
-package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-
-	make DESTDIR=${pkgdir} install
-
-        # Install launcher script
-        install -m755 ${srcdir}/gsmartcontrol_polkit \
-                "${pkgdir}/usr/bin/gsmartcontrol_polkit"
-
-        # Install policy file
-        install -Dm644 ${srcdir}/org.archlinux.pkexec.gsmartcontrol.policy \
-                "${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.gsmartcontrol.policy"
-}

Copied: gsmartcontrol/repos/community-x86_64/PKGBUILD (from rev 469662, gsmartcontrol/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-24 21:18:43 UTC (rev 469663)
@@ -0,0 +1,51 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=gsmartcontrol
+pkgver=1.1.3
+pkgrel=2
+pkgdesc="A graphical user interface for the smartctl hard disk drive health inspection tool."
+arch=('x86_64')
+url="https://gsmartcontrol.sourceforge.net/home/"
+license=('GPL3')
+depends=('smartmontools' 'gtkmm3' 'xorg-xmessage' 'hicolor-icon-theme')
+optdepends=('polkit: to run gsmartcontrol directly from menu'
+            'xterm: to update the drive database')
+source=("https://sourceforge.net/projects/gsmartcontrol/files/${pkgver}/gsmartcontrol-${pkgver}.tar.bz2"
+        org.archlinux.pkexec.gsmartcontrol.policy
+        gsmartcontrol_polkit)
+md5sums=('6953ed6f90b2551ebdb1ae2470f4acdc'
+         '503989a7e6a9a287d81e91243d03f162'
+         '33bdda04d8db1525f2507485f3f2a663')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+        # Modify desktop file
+        sed -i "s|^Exec=.*|Exec="@prefix@/bin/gsmartcontrol_polkit"|" \
+                data/gsmartcontrol.desktop.in
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	CXXFLAGS+=' -std=c++11' ./configure --prefix=/usr --sbindir=/usr/bin/
+	make 
+}
+
+check() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+        make check
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	make DESTDIR=${pkgdir} install
+
+        # Install launcher script
+        install -m755 ${srcdir}/gsmartcontrol_polkit \
+                "${pkgdir}/usr/bin/gsmartcontrol_polkit"
+
+        # Install policy file
+        install -Dm644 ${srcdir}/org.archlinux.pkexec.gsmartcontrol.policy \
+                "${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.gsmartcontrol.policy"
+}

Deleted: gsmartcontrol_polkit
===================================================================
--- gsmartcontrol_polkit	2019-05-24 21:18:35 UTC (rev 469662)
+++ gsmartcontrol_polkit	2019-05-24 21:18:43 UTC (rev 469663)
@@ -1,6 +0,0 @@
-#!/bin/bash
-if [ $(which pkexec) ]; then
-	pkexec --disable-internal-agent "/usr/bin/gsmartcontrol" "$@"
-else
-	/usr/bin/gsmartcontrol "$@"
-fi

Copied: gsmartcontrol/repos/community-x86_64/gsmartcontrol_polkit (from rev 469662, gsmartcontrol/trunk/gsmartcontrol_polkit)
===================================================================
--- gsmartcontrol_polkit	                        (rev 0)
+++ gsmartcontrol_polkit	2019-05-24 21:18:43 UTC (rev 469663)
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ $(which pkexec) ]; then
+	pkexec --disable-internal-agent "/usr/bin/gsmartcontrol" "$@"
+else
+	/usr/bin/gsmartcontrol "$@"
+fi

Deleted: org.archlinux.pkexec.gsmartcontrol.policy
===================================================================
(Binary files differ)

Copied: gsmartcontrol/repos/community-x86_64/org.archlinux.pkexec.gsmartcontrol.policy (from rev 469662, gsmartcontrol/trunk/org.archlinux.pkexec.gsmartcontrol.policy)
===================================================================
(Binary files differ)



More information about the arch-commits mailing list