summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-10 13:08:54 -0600
committerBrian Bidulock2015-06-10 13:08:54 -0600
commitc93dfa71e13c5144515351f0ad2d5be727714a6f (patch)
treed4ad644f9ac62f8056851f44bccaad20867acb96
downloadaur-c93dfa71e13c5144515351f0ad2d5be727714a6f.tar.gz
initial version
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD37
-rw-r--r--perlpanel.install14
3 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d7077eb3a98
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = perlpanel-git
+ pkgdesc = The ideal accompaniment to a light-weight Window Manager such as OpenBox, or a desktop-drawing program like iDesk.
+ pkgver = 0.9.1.37
+ pkgrel = 1
+ url = https://github.com/bbidulock/perlpanel
+ install = perlpanel.install
+ arch = any
+ license = GPL
+ depends = glade-perl
+ depends = gnome-vfs-perl
+ depends = perl-timedate
+ depends = perl-gnome2-wnck
+ depends = perl-locale-gettext
+ depends = perl-xml-parser
+ depends = perl-xml-simple
+ optdepends = perl-xmms: XMMS applet
+ optdepends = xdg-traymenu: XDGMenu applet
+ optdepends = perl-hardware-sensorparser: Sensors applet
+ provides = perlpanel
+ conflicts = perlpanel
+ conflicts = perlpanel-light
+ options = !emptydirs
+ source = perlpanel-git::git+https://github.com/bbidulock/perlpanel.git
+ md5sums = SKIP
+
+pkgname = perlpanel-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e017fe92d55
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
+pkgname=perlpanel-git
+pkgver=0.9.1.37
+pkgrel=1
+pkgdesc="The ideal accompaniment to a light-weight Window Manager such as OpenBox, or a desktop-drawing program like iDesk."
+arch=('any')
+#url="http://savannah.nongnu.org/projects/perlpanel"
+url="https://github.com/bbidulock/perlpanel"
+license=('GPL')
+provides=('perlpanel')
+conflicts=('perlpanel' 'perlpanel-light')
+options=('!emptydirs')
+install=perlpanel.install
+depends=('glade-perl' 'gnome-vfs-perl' 'perl-timedate' 'perl-gnome2-wnck'
+ 'perl-locale-gettext' 'perl-xml-parser' 'perl-xml-simple')
+optdepends=('perl-xmms: XMMS applet'
+ 'xdg-traymenu: XDGMenu applet'
+ 'perl-hardware-sensorparser: Sensors applet')
+source=("$pkgname::git+https://github.com/bbidulock/perlpanel.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's,release-,,;s,-g.*$,,;s,[-_],.,g'
+}
+
+build() {
+ cd $pkgname
+ make PREFIX="/usr" VERSION="$pkgver"
+}
+
+package() {
+ cd $pkgname
+ make PREFIX="/usr" VERSION="$pkgver" DESTDIR="$pkgdir" install
+ find $pkgdir -name '.packlist' -exec rm '{}' \;
+ find $pkgdir -name 'perllocal.pod' -exec rm '{}' \;
+}
diff --git a/perlpanel.install b/perlpanel.install
new file mode 100644
index 00000000000..8ef309e60ee
--- /dev/null
+++ b/perlpanel.install
@@ -0,0 +1,14 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor && \
+ gtk-update-icon-cache -q -t -f /usr/share/icons/Bluecurve && \
+ gtk-update-icon-cache -q -t -f /usr/share/icons/crystalsvg
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+