summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornewbthenewbd2019-08-15 03:04:59 +0200
committernewbthenewbd2019-08-15 03:04:59 +0200
commit5458de55228472185b669962ccda1a1b783a90f3 (patch)
treebdae27919078cee5b0ddba02dbdc9c7a28bef27d
downloadaur-5458de55228472185b669962ccda1a1b783a90f3.tar.gz
Uploaded latest package available for gtk2
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD40
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4ccdaf6236f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = xfce4-power-manager-gtk2
+ pkgdesc = A power manager for Xfce (GTK2 version)
+ pkgver = 1.4.4
+ pkgrel = 1
+ url = https://www.xfce.org/
+ arch = x86_64
+ groups = xfce4-gtk2
+ license = GPL2
+ makedepends = intltool
+ makedepends = xfce4-panel
+ depends = libxfce4ui-gtk2
+ depends = upower
+ depends = libnotify
+ depends = hicolor-icon-theme
+ optdepends = xfce4-panel-gtk2: for the Xfce panel plugin
+ provides = xfce4-power-manager
+ conflicts = xfce4-power-manager
+ source = https://archive.xfce.org/src/xfce/xfce4-power-manager/1.4/xfce4-power-manager-1.4.4.tar.bz2
+ sha256sums = c50ec8aa7e7848c57c0f856dceb8132eb5f37585f0ac1627459ab8c882c73b07
+
+pkgname = xfce4-power-manager-gtk2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6fcff12338a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Newb I the Newbd <czbd hostedon o2 halfacolon pl>
+# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
+# Contributor: Tobias Kieslich <tobias funnychar archlinux.org>
+
+_pkgbase=xfce4-power-manager
+pkgname=(${_pkgbase}-gtk2)
+pkgver=1.4.4
+pkgrel=1
+pkgdesc="A power manager for Xfce (GTK2 version)"
+arch=('x86_64')
+url="https://www.xfce.org/"
+license=('GPL2')
+groups=('xfce4-gtk2')
+conflicts=("${_pkgbase}")
+provides=("${_pkgbase}")
+depends=('libxfce4ui-gtk2' 'upower' 'libnotify' 'hicolor-icon-theme')
+optdepends=('xfce4-panel-gtk2: for the Xfce panel plugin')
+makedepends=('intltool' 'xfce4-panel')
+source=(https://archive.xfce.org/src/xfce/${_pkgbase}/${pkgver%.*}/${_pkgbase}-${pkgver}.tar.bz2)
+sha256sums=('c50ec8aa7e7848c57c0f856dceb8132eb5f37585f0ac1627459ab8c882c73b07')
+
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --sbindir=/usr/bin \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --disable-network-manager \
+ --enable-polkit \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}