summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122018-04-03 17:13:33 +0200
committerwillemw122018-04-03 17:13:33 +0200
commitf3abebfa569ea34287ed9e935fcfc7369e81cff8 (patch)
treeaa582a5ded4f4efe4f83442d37f026364935f8ed
parent1f333a5c650f8bb2f12589b4d3cc92d7498628a2 (diff)
downloadaur-f3abebfa569ea34287ed9e935fcfc7369e81cff8.tar.gz
Add desktop entry file (copied from rpm). Update arch.
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD15
-rw-r--r--wally.desktop10
3 files changed, 27 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cfb80473464..aecbb49643b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,21 @@
-# Generated by mksrcinfo v7
-# Sat Oct 10 15:41:43 UTC 2015
+# Generated by mksrcinfo v8
+# Tue Apr 3 15:11:54 UTC 2018
pkgbase = wally
pkgdesc = Qt4 desktop wallpaper changer, using multiple online and offline sources
pkgver = 2.4.5
- pkgrel = 3
+ pkgrel = 4
url = http://www.becrux.com/index.php?page=projects&name=wally
- arch = i686
arch = x86_64
license = GPL
makedepends = cmake
+ makedepends = desktop-file-utils
+ makedepends = gtk-update-icon-cache
depends = qt4
optdepends = libexif: retrieve EXIF data
source = http://www.becrux.com/pages/projects/wally/wally-2.4.5.tar.gz
+ source = wally.desktop
md5sums = bd99473b23f42b5158341865fb6aa1bc
+ md5sums = 5fe93f6b16e81d846a57e47136d9329a
pkgname = wally
diff --git a/PKGBUILD b/PKGBUILD
index 51f294662da..88a73fbe464 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,16 +5,18 @@
pkgname=wally
pkgver=2.4.5
-pkgrel=3
+pkgrel=4
pkgdesc="Qt4 desktop wallpaper changer, using multiple online and offline sources"
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://www.becrux.com/index.php?page=projects&name=wally"
license=('GPL')
depends=('qt4')
optdepends=('libexif: retrieve EXIF data')
-makedepends=('cmake')
-source=(http://www.becrux.com/pages/projects/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('bd99473b23f42b5158341865fb6aa1bc')
+makedepends=('cmake' 'desktop-file-utils' 'gtk-update-icon-cache')
+source=(http://www.becrux.com/pages/projects/$pkgname/$pkgname-$pkgver.tar.gz
+ wally.desktop)
+md5sums=('bd99473b23f42b5158341865fb6aa1bc'
+ '5fe93f6b16e81d846a57e47136d9329a')
build() {
cd $pkgname-$pkgver
@@ -23,7 +25,10 @@ build() {
}
package() {
+ install -Dm644 wally.desktop "$pkgdir/usr/share/applications/wally.desktop"
+
cd $pkgname-$pkgver
+ install -Dm644 res/images/wally.png "$pkgdir/usr/share/icons/hicolor/32x32/apps/wally.png"
make DESTDIR="$pkgdir/" install
}
diff --git a/wally.desktop b/wally.desktop
new file mode 100644
index 00000000000..05ebf064ee7
--- /dev/null
+++ b/wally.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Name=Wally
+Comment=Wallpaper changer using files, folders, FTP and web sites
+Exec=/usr/bin/wally
+Icon=wally
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=Utility;