summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDPDmancul2019-09-25 14:30:04 +0200
committerDPDmancul2019-09-25 14:34:34 +0200
commit729ef00d488050f1cba3b0be412bcc27472b56eb (patch)
treef094475ce15d616aa112029b914e42d16fa88f86
parente8185db554c9f8d045844f791e453fbea6db3bc6 (diff)
downloadaur-masterpdfeditor-free.tar.gz
Removed check gor updates
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD1
-rw-r--r--masterpdfeditor-free.install6
3 files changed, 8 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0581bbc9f853..3e88efab8b15 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,6 +3,7 @@ pkgbase = masterpdfeditor-free
pkgver = 4.3.89
pkgrel = 1
url = https://code-industry.net/free-pdf-editor/
+ install = masterpdfeditor-free.install
arch = i686
arch = x86_64
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 46a34d052e3e..86886c81d09a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,6 +12,7 @@ url='https://code-industry.net/free-pdf-editor/'
arch=('i686' 'x86_64')
license=('custom')
conflicts=('masterpdfeditor-qt4')
+install="${pkgname}.install"
source=('masterpdfeditor.desktop')
source_i686=("http://code-industry.net/public/master-pdf-editor-${pkgver}_i386.tar.gz")
source_x86_64=("http://code-industry.net/public/master-pdf-editor-${pkgver}_qt5.amd64.tar.gz")
diff --git a/masterpdfeditor-free.install b/masterpdfeditor-free.install
new file mode 100644
index 000000000000..7c5d8db115fc
--- /dev/null
+++ b/masterpdfeditor-free.install
@@ -0,0 +1,6 @@
+post_install() {
+ echo '0.0.0.0 get.code-industry.net' >> /etc/hosts
+}
+post_remove() {
+ sed -i '/get\.code-industry\.net/d' /etc/hosts
+}