summaryrefslogtreecommitdiff
path: root/pcr-testing/wbar
diff options
context:
space:
mode:
authorfauno <fauno@endefensadelsl.org>2018-01-06 19:31:57 -0300
committerfauno <fauno@endefensadelsl.org>2018-01-06 19:31:57 -0300
commit685d3ca91babdbb7e4efed88a75fe776a593b725 (patch)
tree0f1add3030cce7d571023522cbf9b78a11c3fc74 /pcr-testing/wbar
parentb3fae2f65c48f17b2c5b534b768ca0607b9e800d (diff)
parent8161eec2a2b550802274afaf9b162195053814f2 (diff)
downloadabslibre-685d3ca91babdbb7e4efed88a75fe776a593b725.tar.gz
abslibre-685d3ca91babdbb7e4efed88a75fe776a593b725.tar.bz2
abslibre-685d3ca91babdbb7e4efed88a75fe776a593b725.zip
Merge branch 'master' of git://git.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr-testing/wbar')
-rw-r--r--pcr-testing/wbar/PKGBUILD49
-rw-r--r--pcr-testing/wbar/wbar-dock.pngbin0 -> 8482 bytes
2 files changed, 49 insertions, 0 deletions
diff --git a/pcr-testing/wbar/PKGBUILD b/pcr-testing/wbar/PKGBUILD
new file mode 100644
index 000000000..ec8ee3f46
--- /dev/null
+++ b/pcr-testing/wbar/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: bill-auger <bill-auger@programmer.net>
+
+
+pkgname=wbar
+pkgver=2.3.4
+pkgrel=3
+pkgdesc="Minimalist quick-launch tool"
+arch=('i686' 'x86_64')
+license=('GPL')
+url=https://code.google.com/archive/p/wbar/
+
+depends=('imlib2')
+makedepends=('intltool' 'libglade')
+
+source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wbar/wbar-2.3.4.tgz
+ wbar-dock.png)
+sha256sums=('46a69849e4436529aefb5cfb2c94b520d05a53c237e7773b90207f67f97a93e3'
+ '902dbf06f596bf4453e60b5caa5f173cfc2644dd054e27b50b7e028d0968edd0')
+
+_build_dir=${pkgname}-${pkgver}
+
+
+prepare() {
+ cd ${_build_dir}
+
+ sed -i 's|AM_INIT_AUTOMAKE(\[\(.*\)\])|AM_INIT_AUTOMAKE(\[\1subdir-objects \])|' ./configure.ac
+ sed -i 's|\$(top_srcdir)/src/||g' ./src/Makefile.am
+ sed -i 's|= PACKAGE_NAME" "DEFAULT_ARGV;|= PACKAGE_NAME " " DEFAULT_ARGV;|' ./src/core/Main.cc
+ sed -i 's|= PACKAGE_NAME" "DEFAULT_ARGV;|= PACKAGE_NAME " " DEFAULT_ARGV;|' ./src/config/Functions.cc
+ sed -i 's|("killall "PACKAGE_NAME)|("killall " PACKAGE_NAME)|' ./src/config/Run.cc
+ sed -i 's| PIXMAPDIR"/"PACKAGE_NAME"| PIXMAPDIR "/" PACKAGE_NAME "|' ./src/config/Functions.cc
+}
+
+build() {
+ cd ${_build_dir}
+
+ autoreconf -fiv
+ ./configure
+ make
+}
+
+package() {
+ cd ${_build_dir}
+
+ make DESTDIR=${pkgdir} install
+
+ install -d usr/share/pixmaps/wbar
+ install -m 644 ${srcdir}/wbar-dock.png ${pkgdir}/usr/share/pixmaps/wbar/
+}
diff --git a/pcr-testing/wbar/wbar-dock.png b/pcr-testing/wbar/wbar-dock.png
new file mode 100644
index 000000000..353b3c65b
--- /dev/null
+++ b/pcr-testing/wbar/wbar-dock.png
Binary files differ