summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatie Wolfe2019-02-17 18:42:53 -0500
committerKatie Wolfe2019-02-17 18:42:53 -0500
commit6756050cafcce61d7ce45b9cd8efd4d1018723f5 (patch)
tree5c103dce0d9833820227c7ae067c4d8b893ec8e1
parent69050b7d61199f1b92777390d4ef13f4b0ec394c (diff)
downloadaur-6756050cafcce61d7ce45b9cd8efd4d1018723f5.tar.gz
Added .desktop entry
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
-rw-r--r--igdm.desktop9
3 files changed, 19 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8e8c8d8e4ac..216eb47808d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = igdm
pkgdesc = Desktop application for Instagram DMs
pkgver = 2.6.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ifedapoolarewaju/igdm
arch = x86_64
arch = i686
@@ -14,6 +14,8 @@ pkgbase = igdm
conflicts = igdm
noextract = IGdm-2.6.1.zip
noextract = IGdm-2.6.1-ia32.zip
+ source = igdm.desktop
+ sha256sums = 50d0ac59bacc71f5037fa521be562eaf8d4a6ff9a945d18482f3ce81d9c9da9a
source_x86_64 = https://github.com/ifedapoolarewaju/igdm/releases/download/v2.6.1/IGdm-2.6.1.zip
sha256sums_x86_64 = 759f6f167c748619449fbd4a8a4bce179fb46fdf476fa604bc45d61eda5236b2
source_i686 = https://github.com/ifedapoolarewaju/igdm/releases/download/v2.6.1/IGdm-2.6.1-ia32.zip
diff --git a/PKGBUILD b/PKGBUILD
index 2e8f297e0ee..3e0be004be3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Katie Wolfe <katie@dnaf.moe>
pkgname=igdm
pkgver=2.6.1
-pkgrel=1
+pkgrel=2
pkgdesc="Desktop application for Instagram DMs"
arch=('x86_64' 'i686')
url="https://github.com/ifedapoolarewaju/igdm"
@@ -16,7 +16,9 @@ conflicts=('igdm')
changelog=
source_x86_64=("https://github.com/ifedapoolarewaju/igdm/releases/download/v$pkgver/IGdm-$pkgver.zip")
source_i686=("https://github.com/ifedapoolarewaju/igdm/releases/download/v$pkgver/IGdm-$pkgver-ia32.zip")
+source=("${pkgname}.desktop")
noextract=("IGdm-$pkgver.zip" "IGdm-$pkgver-ia32.zip")
+sha256sums=('50d0ac59bacc71f5037fa521be562eaf8d4a6ff9a945d18482f3ce81d9c9da9a')
sha256sums_x86_64=('759f6f167c748619449fbd4a8a4bce179fb46fdf476fa604bc45d61eda5236b2')
sha256sums_i686=('f93fb32877d40aabd09f173dc2900de2c8bf1da3c3eda5f07f58af76efea8d5a')
validpgpkeys=()
@@ -35,8 +37,12 @@ package() {
install -d "$pkgdir/opt/${pkgname}"
cd 'igdm'
cp -a '.' "$pkgdir/opt/${pkgname}"
+ cd ..
# Install symlink /usr/bin/igdm -> /opt/igdm/igdm
install -d "$pkgdir/usr/bin"
ln -s "/opt/${pkgname}/igdm" "$pkgdir/usr/bin/igdm"
+
+ # Install desktop entry
+ install -Dm=644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
diff --git a/igdm.desktop b/igdm.desktop
new file mode 100644
index 00000000000..d9607018a72
--- /dev/null
+++ b/igdm.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=IGdm
+Comment=Desktop application for Instagram DMs
+Path=/opt/igdm/
+Exec=igdm
+Icon=igdm
+Categories=Network;Chat