summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaurabh0003452020-07-09 12:04:09 +0530
committersaurabh0003452020-07-09 12:04:09 +0530
commitd3fa5d271e5a98363cef5015e5d85ee0c8ffe026 (patch)
tree275a4d4d0a11ff2a88677980a01406824e4ab74e
downloadaur-d3fa5d271e5a98363cef5015e5d85ee0c8ffe026.tar.gz
Version 1.0.1
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD34
-rw-r--r--instagram-nativefier.desktop10
-rw-r--r--instagram-nativefier.pngbin0 -> 13623 bytes
4 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..07462dc1226
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = instagram-nativefier
+ pkgdesc = Chat with friends! Instagram Client built with nodejs-nativefier (electron)
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://instagram.com/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = imagemagick
+ makedepends = nodejs-nativefier
+ depends = gtk3
+ depends = libxss
+ depends = nss
+ optdepends = libindicator-gtk3
+ source = instagram-nativefier.desktop
+ source = instagram-nativefier.png
+ sha256sums = b10535d6488d742bcbb3b334e936156bb2682b748507389927399dc0fa65f1d9
+ sha256sums = 8d44f32553624110623423ec3f34181c27f5b5453efbd67ca5525e446c64be3f
+
+pkgname = instagram-nativefier
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ae2a247cdb5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Saurabh Kumar Sharma <saurabh000345 at gmail dot com>
+
+pkgname=instagram-nativefier
+pkgver=1.0
+pkgrel=1
+pkgdesc="Chat with friends! Instagram Client built with nodejs-nativefier (electron)"
+arch=("i686" "x86_64")
+url="https://instagram.com/"
+license=("GPL")
+depends=("gtk3" "libxss" "nss")
+optdepends=("libindicator-gtk3")
+makedepends=("imagemagick" "nodejs-nativefier")
+
+source=("${pkgname}.desktop" "${pkgname}.png")
+sha256sums=("b10535d6488d742bcbb3b334e936156bb2682b748507389927399dc0fa65f1d9"
+ "8d44f32553624110623423ec3f34181c27f5b5453efbd67ca5525e446c64be3f")
+
+build() {
+ cd "${srcdir}"
+ nativefier "https://instagram.com" --user-agent 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0' --name "Instagram" --internal-urls ".*instagram.com.*" -m -i "${pkgname}.png"
+}
+
+package() {
+ install -dm755 "${pkgdir}/"{opt,usr/share/applications,usr/bin}
+ cp -rL "${srcdir}/Instagram-linux"* "${pkgdir}/opt/${pkgname}"
+ chmod +x "${pkgdir}/opt/${pkgname}/Instagram"
+ ln -s "/opt/${pkgname}/Instagram" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ for _size in "192x192" "128x128" "96x96" "64x64" "48x48" "32x32" "24x24" "22x22" "20x20" "16x16" "8x8"
+ do
+ install -dm755 "${pkgdir}/usr/share/icons/hicolor/${_size}/apps"
+ convert "${srcdir}/${pkgname}.png" -resize "${_size}" "${pkgdir}/usr/share/icons/hicolor/${_size}/apps/${pkgname}.png"
+ done
+}
diff --git a/instagram-nativefier.desktop b/instagram-nativefier.desktop
new file mode 100644
index 00000000000..1bdc2bccb93
--- /dev/null
+++ b/instagram-nativefier.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Instagram
+Comment=Instagram client built on nodejs nativefier (electron)
+Exec=instagram-nativefier
+Icon=instagram-nativefier
+Encoding=UTF-8
+Terminal=false
+StartupNotify=true
+Type=Application
+Categories=Network;Internet;
diff --git a/instagram-nativefier.png b/instagram-nativefier.png
new file mode 100644
index 00000000000..51c9b64302a
--- /dev/null
+++ b/instagram-nativefier.png
Binary files differ