summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordian Edenhofer2016-04-07 17:07:36 +0200
committerGordian Edenhofer2016-04-07 17:07:36 +0200
commit2ab50716d32838d590bf4abdae19fe1c543c1b3c (patch)
tree531d2d2e9597deac55bc1597a3727bc294f91f59
parent89829d663e62876cccdffcf53c01141956c7063b (diff)
downloadaur-2ab50716d32838d590bf4abdae19fe1c543c1b3c.tar.gz
Upgpkg: 5.4.0b13+20160406-1
Check for insufficient space in preparation step.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD22
2 files changed, 16 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 041922b1f03..b72b2792a46 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = unity-editor-bin
pkgdesc = The world's most popular development platform for creating 2D and 3D multiplatform games and interactive experiences.
- pkgver = 5.3.4f1+20160317
+ pkgver = 5.4.0b13+20160406
pkgrel = 1
url = https://unity3d.com/
install = unity-editor-bin.install
@@ -27,7 +27,7 @@ pkgbase = unity-editor-bin
provides = unity-editor
conflicts = unity-editor
options = !strip
- source = http://download.unity3d.com/download_unity/linux/unity-editor-5.3.4f1+20160317_amd64.deb
- md5sums = 2308a4b23baa07af2664a8bf0dd338e4
+ source = http://download.unity3d.com/download_unity/linux/unity-editor-5.4.0b13+20160406_amd64.deb
+ md5sums = 1acc8c7d74aaa0ae380ee02126674a24
pkgname = unity-editor-bin
diff --git a/PKGBUILD b/PKGBUILD
index 7f324ec2a22..c747800bba3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,14 @@
# Maintainer: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
-# Please consider the size of the package, before building on a potential small partition
-# like /tmp (bare in mind that most AUR helpers do so). The extracted content of the files
-# is about 3 GB in size.
-
# Watch new releases at http://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/
# Prevent compression of the final package since it would take too long (sereausly!)
PKGEXT='.pkg.tar'
pkgname=unity-editor-bin
-_version=5.3.4
-_build=f1
-_buildtag=20160317
+_version=5.4.0
+_build=b13
+_buildtag=20160406
pkgver=${_version}${_build}+${_buildtag}
pkgrel=1
pkgdesc="The world's most popular development platform for creating 2D and 3D multiplatform games and interactive experiences."
@@ -30,9 +26,17 @@ optdepends=('ffmpeg: for WebGL exporting'
provides=('unity-editor')
conflicts=('unity-editor')
options=(!strip)
-install=${pkgname}.install
+install="${pkgname}.install"
source=("http://download.unity3d.com/download_unity/linux/unity-editor-${pkgver}_amd64.deb")
-md5sums=('2308a4b23baa07af2664a8bf0dd338e4')
+md5sums=('1acc8c7d74aaa0ae380ee02126674a24')
+
+prepare() {
+ if [[ "$(df . -BG --output=avail | awk -F'[^0-9]*' 'FNR==2 {print $2;}')" -le "10" ]]; then
+ warning "It seems that you have less than 10GB left on the partition you are building on."
+ warning "You might want to change the build-/cache-directory as this package is rather big."
+ warning "Bear in mind that most AUR helpers build in /tmp, a potential small partition."
+ fi
+}
package() {
bsdtar xf data.tar.gz