diff options
author | Juraj Fiala | 2015-09-01 07:51:15 +0200 |
---|---|---|
committer | Juraj Fiala | 2015-09-01 07:51:15 +0200 |
commit | 93ab23386123a4e7387e35af29e3d410869ab899 (patch) | |
tree | d79b97f30d9b77a9374280f8e38b285c9785bd89 | |
parent | 8fd1cee2056cedbb3ccfa6a9309c7af0927def3c (diff) | |
parent | dbad559c0d69de117cb5c825227f2629c3750567 (diff) | |
download | aur-93ab23386123a4e7387e35af29e3d410869ab899.tar.gz |
Merge branch 'master' of ssh+git://aur.archlinux.org/unity-editor
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 9 insertions, 1 deletions
@@ -6,6 +6,9 @@ pkgbase = unity-editor install = unity-editor.install arch = x86_64 license = custom + makedepends = elinks + makedepends = sed + makedepends = libxml2 depends = desktop-file-utils depends = xdg-utils depends = gcc-multilib @@ -23,6 +23,9 @@ depends=('desktop-file-utils' 'libpng12' 'libxtst' 'monodevelop') +makedepends=('elinks' + 'sed' + 'libxml2') optdepends=('ffmpeg: for WebGL exporting' 'nodejs: for WebGL exporting' 'java-runtime: for WebGL exporting' @@ -67,7 +70,9 @@ package() { install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/unity-editor" install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/monodevelop-unity" - install -Dm644 "${srcdir}/eula" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + # EULA + xmllint --html --xpath "//section[@id='content']" "${srcdir}/eula" 2> /dev/null | elinks -dump | sed '/Quick jump/,$d' > "${srcdir}/LICENSE" + install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } # vim:set sw=2 sts=2 et: |