summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorwillemw122017-06-24 09:27:18 +0200
committerwillemw122017-06-24 09:27:18 +0200
commitff6c71e8f5f957900cfa12a6672b667811a2312f (patch)
treeb8037b739e101a26d345a07815a38d351c8f3adb /PKGBUILD
parentf03ad1750a47f91a606346afe9b6be452efa52b1 (diff)
downloadaur-desktopnova.tar.gz
Add dbus and python2. Remove .install file. Fix "dbus-server-bindings.h" file generation
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0778f7fc670..1f23cc91058 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,20 +3,28 @@
pkgname=desktopnova
pkgver=0.8.1
-pkgrel=4
+pkgrel=5
pkgdesc="Changes your desktop wallpaper automatically after a preset period of time"
arch=('i686' 'x86_64')
url="https://launchpad.net/desktopnova"
license=('GPL')
-depends=('gconf' 'gtk2' 'gtk-update-icon-cache' 'libxml2' 'xfconf')
-makedepends=('cmake' 'intltool')
-install=$pkgname.install
+depends=('gconf' 'gtk-update-icon-cache' 'libdbusmenu-gtk2' 'libxml2' 'xfconf')
+makedepends=('cmake' 'intltool' 'python2')
source=(https://launchpad.net/desktopnova/0.8/$pkgver/+download/$pkgname-$pkgver.tar.gz)
md5sums=('f1ce5cc731ddcb999ac09ff8461228b9')
-build(){
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's/\bpython\b/python2/g' generate-translators.py ascii-to-header.py src/misc/CMakeLists.txt
+}
+
+build() {
cd $pkgname-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr .
+
+ # Fix "dbus-server-bindings.h: No such file or directory"
+ make asciis-to-headers desktopnova-general desktopnova-module
+
make
}