summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkunnyk2016-05-02 18:18:35 +0200
committerSkunnyk2016-05-02 18:18:35 +0200
commit2734027403aa7d5302b800673d402ccfe246c0f2 (patch)
tree9748ebb41af32748b1945da50660259142fd16a4
downloadaur-2734027403aa7d5302b800673d402ccfe246c0f2.tar.gz
Initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD42
-rw-r--r--xfce4-diskperf-plugin.install12
3 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..42b4c4972e6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = xfce4-diskperf-plugin-git
+ pkgdesc = Plugin for the Xfce4 panel displaying instant disk/partition performance
+ pkgver = 2.5.5.r23.gfe6abce
+ pkgrel = 1
+ url = http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin
+ install = xfce4-diskperf-plugin.install
+ arch = i686
+ arch = x86_64
+ groups = xfce4-goodies
+ license = GPL
+ makedepends = xfce4-dev-tools
+ makedepends = intltool
+ makedepends = git
+ depends = xfce4-panel
+ provides = xfce4-diskperf-plugin
+ conflicts = xfce4-diskperf-plugin
+ options = !libtool
+ source = git://git.xfce.org/panel-plugins/xfce4-diskperf-plugin
+ sha256sums = SKIP
+
+pkgname = xfce4-diskperf-plugin-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..552ded0aeb7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+pkgname=xfce4-diskperf-plugin-git
+_pkgname=${pkgname%-git}
+pkgver=2.5.5.r23.gfe6abce
+pkgrel=1
+pkgdesc='Plugin for the Xfce4 panel displaying instant disk/partition performance'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin'
+groups=('xfce4-goodies')
+depends=('xfce4-panel')
+conflicts=('xfce4-diskperf-plugin')
+provides=('xfce4-diskperf-plugin')
+makedepends=('xfce4-dev-tools' 'intltool' 'git')
+options=('!libtool')
+install=xfce4-diskperf-plugin.install
+source=('git://git.xfce.org/panel-plugins/xfce4-diskperf-plugin')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ }
+
+build() {
+ cd "$_pkgname"/
+
+ ./autogen.sh --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-maintainer-mode \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "$_pkgname"
+
+ make DESTDIR="${pkgdir}" install
+}
+
diff --git a/xfce4-diskperf-plugin.install b/xfce4-diskperf-plugin.install
new file mode 100644
index 00000000000..6204edafc8f
--- /dev/null
+++ b/xfce4-diskperf-plugin.install
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+