summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Landauer2016-12-15 10:21:27 +0100
committerBernhard Landauer2016-12-15 10:21:27 +0100
commitc35a3409c5d3eedcb24bbea6c67ef1f10bcfe822 (patch)
tree839e3033fbe9e7c0f8b9610a19ff3428b32c5b6c
parent1df77d2b75bc38b3d807401a50ae184f8e8f4bce (diff)
downloadaur-c35a3409c5d3eedcb24bbea6c67ef1f10bcfe822.tar.gz
clean PKGBUILD
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD21
2 files changed, 7 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dd074322360..ff1a92d9102 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Feb 13 21:34:00 UTC 2016
+# Thu Dec 15 09:20:33 UTC 2016
pkgbase = xfce4-indicator-plugin
pkgdesc = Plugin to display information from applications in the Xfce4 panel
pkgver = 2.3.3
diff --git a/PKGBUILD b/PKGBUILD
index 7f1c1e78213..9e13fa6d361 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,37 +1,28 @@
# Maintainer: Bernhard Landauer <oberon@manjaro.org>
-# Maintainer: Artem Vorotnikov <artem@vorotnikov.me>
-# Contributor: Abi Hafshin <abi@hafs.in>
pkgname=xfce4-indicator-plugin
-_pkgname=xfce4-indicator-plugin
-pkgver=2.3.3
-_major=2.3
+_maj=2.3
+pkgver=$_maj.3
pkgrel=2
pkgdesc="Plugin to display information from applications in the Xfce4 panel"
arch=('i686' 'x86_64')
-url="http://goodies.xfce.org/projects/panel-plugins/xfce4-indicator-plugin"
+url="http://goodies.xfce.org/projects/panel-plugins/$pkgname"
license=('GPL')
depends=('xfce4-panel' 'libindicator-gtk2' 'libindicator-gtk3' 'hicolor-icon-theme' 'xdg-utils')
makedepends=('intltool' 'xfce4-dev-tools')
optdepends=('indicator-application-gtk2: take menus from applications and place them in the panel'
'indicator-sound: unified sound menu')
install=$pkgname.install
-source=(http://archive.xfce.org/src/panel-plugins/xfce4-indicator-plugin/${_major}/${_pkgname}-${pkgver}.tar.bz2)
+source=(http://archive.xfce.org/src/panel-plugins/$pkgname/$_maj/$pkgname-$pkgver.tar.bz2)
sha256sums=('c46b529b0f31c8ba9401fdc3e245ed3f30e61fadc0e8d2ddb6aaa10b02edbd52')
-prepare() {
- cd "$srcdir/$_pkgname-$pkgver"
-}
-
build() {
- cd "$srcdir/$_pkgname-$pkgver"
-
+ cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --disable-static
make
}
package() {
- cd "$srcdir/$_pkgname-$pkgver"
-
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir/" install
}