summaryrefslogtreecommitdiff
path: root/pcr/wallchange
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-09 18:33:55 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-09 18:33:55 +0100
commit6cc75aa5993d2c40e2df51043b338356de15ab4b (patch)
tree5dd027760053f4637327f1d5f4d6f011f7ce613f /pcr/wallchange
parent80226b11d4e49cacdddc3d3718e6e18db9243a8c (diff)
downloadabslibre-6cc75aa5993d2c40e2df51043b338356de15ab4b.tar.gz
abslibre-6cc75aa5993d2c40e2df51043b338356de15ab4b.tar.bz2
abslibre-6cc75aa5993d2c40e2df51043b338356de15ab4b.zip
pcr/wallchange: reworked and rebuilt
Diffstat (limited to 'pcr/wallchange')
-rw-r--r--pcr/wallchange/PKGBUILD38
1 files changed, 20 insertions, 18 deletions
diff --git a/pcr/wallchange/PKGBUILD b/pcr/wallchange/PKGBUILD
index d37bb83db..af2b1234b 100644
--- a/pcr/wallchange/PKGBUILD
+++ b/pcr/wallchange/PKGBUILD
@@ -1,34 +1,36 @@
-# Wallchange
-# Contributor (Arch): ying <Jinoto Systems>
-# Contributor (Arch): ying <Jinoto Systems>
+# Maintainer (AUR): Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor (AUR): ying <Jinoto Systems>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
pkgname=wallchange
pkgver=1.2
-pkgrel=1
+pkgrel=3
pkgdesc="A small and simple command tool which is changing the wallpaper on a switch to the next virtual desktop."
url="https://sourceforge.net/projects/wallchange-slim/files/"
arch=('i686' 'x86_64')
-install=wallchange.install
+arch+=('armv7h')
license=('GPL2')
-depends=('eterm' 'archlinux-wallpaper') # 'eterm' can be changed in any command tool to draw the wallpaper.
-optdepends=('eterm' 'habak' 'feh' 'hsetroot' 'others')
+depends=('habak') # or 'eterm' (for esetroot) or feh or ... can be changed in any command tool to draw the wallpaper.
+optdepends=('eterm' 'habak' 'feh' 'hsetroot')
source=("https://downloads.sourceforge.net/project/wallchange-slim/wallchange-${pkgver}.tar.gz?r=&ts=1289391543&use_mirror=master" wallchange.conf)
+md5sums=('840425f1c724aea198b7cd378fba708d'
+ 'd4a9b5c9b341eee1651269139e1f91c9')
+prepare() {
+ # change the hardcoded Esetroot to habak, as it is the cheaper
+ # dependency under Parabloa GNU/Linux-libre
+ sed -i 's+Esetroot -s+habak -mC -mS+' ${srcdir}/${pkgname}-${pkgver}/main.cpp
+}
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make all
+ cd ${srcdir}/${pkgname}-${pkgver}
+ g++ -o ${pkgname} main.cpp -lX11
}
+
package() {
- install -Dm755 ${pkgname}-${pkgver}/wallchange $pkgdir/usr/bin/wallchange || return
- install -Dm755 wallchange.conf $pkgdir/usr/share/wallchange/wallchange.conf || return
+ install -Dm755 ${pkgname}-${pkgver}/wallchange \
+ $pkgdir/usr/bin/wallchange
+ install -Dm755 wallchange.conf \
+ $pkgdir/usr/share/wallchange/wallchange.conf
}
-
-
-
-md5sums=('840425f1c724aea198b7cd378fba708d'
- 'd4a9b5c9b341eee1651269139e1f91c9')
-md5sums=('840425f1c724aea198b7cd378fba708d'
- 'd4a9b5c9b341eee1651269139e1f91c9')