summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuraj Fiala2016-04-28 17:30:55 +0200
committerJuraj Fiala2016-04-28 17:30:55 +0200
commit2099b79d90d66f89e7b081b28cc5b3c51ba0f3df (patch)
tree869af53de4c5913b31d1da44eee745b465777b2e
parent445c4339d1d299924d0d1c8a783a9d81d112c27c (diff)
downloadaur-2099b79d90d66f89e7b081b28cc5b3c51ba0f3df.tar.gz
Use pacman hooks.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD1
-rw-r--r--unity-editor.install19
3 files changed, 1 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d4cc92aeb9d7..ed060f4ab626 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Fri Mar 18 12:59:32 UTC 2016
+# Thu Apr 28 15:30:55 UTC 2016
pkgbase = unity-editor
pkgdesc = The world's most popular development platform for creating 2D and 3D multiplatform games and interactive experiences.
pkgver = 5.3.4f1+20160317
pkgrel = 1
url = https://unity3d.com/
- install = unity-editor.install
arch = x86_64
license = custom
depends = desktop-file-utils
diff --git a/PKGBUILD b/PKGBUILD
index 3955c9f7b89d..7069b1479c0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,7 +34,6 @@ optdepends=('ffmpeg: for WebGL exporting'
'android-udev: for Android Remote')
conflicts=('unity3d')
replaces=('unity3d')
-install="${pkgname}.install"
source=("http://download.unity3d.com/download_unity/linux/unity-editor-installer-${pkgver}.sh"
'EULA'
'unity-editor'
diff --git a/unity-editor.install b/unity-editor.install
deleted file mode 100644
index 556949362efe..000000000000
--- a/unity-editor.install
+++ /dev/null
@@ -1,19 +0,0 @@
-post_install() {
- echo -n "Updating desktop MIME database..."
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- echo " done."
-
- echo -n "Updating icon cache..."
- update-desktop-database -q
- echo " done."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
-
-# vim:set sw=2 sts=2 et: