summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNextHendrix2016-07-27 16:15:24 +0100
committerNextHendrix2016-07-27 16:15:24 +0100
commitef6daea474df45e233f7fe05dacd88c65e699b63 (patch)
treed7671c2f34cba87dca8daaafad8b3770c142b6a4
parenta7579d9e9129aa519d80a0ec86f491566bfd0a81 (diff)
downloadaur-vmg.tar.gz
desktop file
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD11
-rw-r--r--vmg.desktop6
3 files changed, 18 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a133262aff8..67099a41981 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,17 @@
pkgbase = vmg
pkgdesc = Handy virtual magnifying glass tool
pkgver = 3.5
- pkgrel = 1
+ pkgrel = 2
url = http://magnifier.sourceforge.net/
arch = i686
arch = x86_64
license = GPL2
depends = lib32-gtk2
+ conflicts = vmg-svn
source = http://sourceforge.net/projects/magnifier/files/magnifier%20for%20Linux/3.5/magnifier-linux-3.5.tar.bz2
+ source = vmg.desktop
md5sums = 8302710ad565f1f1de63cf307703f6f5
+ md5sums = e831d6b702672283d3c64202454c6f32
pkgname = vmg
diff --git a/PKGBUILD b/PKGBUILD
index 02242475939..18eac7ef6fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,21 @@
pkgname=vmg
pkgver=3.5
-pkgrel=1
+pkgrel=2
pkgdesc="Handy virtual magnifying glass tool"
arch=('i686' 'x86_64')
url="http://magnifier.sourceforge.net/"
license=('GPL2')
depends=('lib32-gtk2')
-source=("http://sourceforge.net/projects/magnifier/files/magnifier%20for%20Linux/3.5/magnifier-linux-3.5.tar.bz2")
-md5sums=('8302710ad565f1f1de63cf307703f6f5')
+conflicts=('vmg-svn')
+source=("http://sourceforge.net/projects/magnifier/files/magnifier%20for%20Linux/3.5/magnifier-linux-3.5.tar.bz2"
+ "vmg.desktop")
+md5sums=('8302710ad565f1f1de63cf307703f6f5'
+ 'e831d6b702672283d3c64202454c6f32')
package() {
+ mkdir -p $pkgdir/usr/share/applications
+ cp ./vmg.desktop $pkgdir/usr/share/applications/
cd "magnifier-linux-3.5"
mkdir -p $pkgdir/usr/share/magnifier
cp ./topleft.bmp $pkgdir/usr/share/magnifier/
diff --git a/vmg.desktop b/vmg.desktop
new file mode 100644
index 00000000000..108588fa185
--- /dev/null
+++ b/vmg.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=Virtual Magnifying Glass
+Comment=Magnifies the screen
+Exec=vmg
+Type=Application
+Categories=Utilities;