summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Severance2018-11-30 18:51:00 -0500
committerChris Severance2018-11-30 18:51:00 -0500
commitd7b328d6e0455db842292117c0d1944200ec18f8 (patch)
treedff06f74d0cb1d6d92474d39905fab843c941fe8
parent389f2cd55aefb73bdc2ee0de1d53ad2ef6b5bdae (diff)
downloadaur-d7b328d6e0455db842292117c0d1944200ec18f8.tar.gz
autu: Update to 11.5-2
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD36
2 files changed, 18 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f59edaaa7208..351bc6b48fe7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by mksrcinfo v8
+# Fri Nov 30 23:51:00 UTC 2018
pkgbase = symantec-ghost
pkgdesc = Symantec Ghost for Linux
pkgver = 11.5
@@ -13,10 +15,12 @@ pkgbase = symantec-ghost
source = ghost.polkit
source = http://upload.wikimedia.org/wikipedia/en/5/58/Norton_Ghost_icon.png
source = ftp://ftp.norton.com/public/english_us_canada/products/symantec_ghost_solution_suite/2.5/manuals/readme.txt
+ source = ftp://ftp.norton.com/public/english_us_canada/products/symantec_ghost_solution_suite/2.5/updates/GSSB2174.zip
sha256sums = 7d0b4a0f3c15927d8b9c788f61ea05d6dd591fea0db99e8cb5cacaba5dab218c
sha256sums = 852c2208a95080923e7534146e86d0b50ff790a254161fad900029c7e44181e3
sha256sums = 849459ed3ff52e76547eb1f90d2963226a4bd9d9875473785cbf3922ab3ca0ac
sha256sums = 39b5bca2401df511364904039fb8f692be3095f57df434245cfc36893416b176
+ sha256sums = a477be351ba22d7f11bbeebfa2a40cad81d394e6c0c95657e3e4d2705876b228
depends_i686 = gcc-libs
depends_i686 = libx11
depends_x86_64 = lib32-gcc-libs
diff --git a/PKGBUILD b/PKGBUILD
index 96e83d89123f..cb611a5bb9a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,50 +9,42 @@ pkgdesc='Symantec Ghost for Linux'
arch=('i686' 'x86_64')
url='http://www.symantec.com/ghost-solution-suite'
license=('custom')
-options=('!strip')
depends_x86_64=('lib32-gcc-libs' 'lib32-libx11')
depends_i686=('gcc-libs' 'libx11')
optdepends=('polkit: to run ghost directly from menu')
makedepends=('glibc')
-source=(ghost{.desktop,.polkit}
+options=('!strip')
+source=(
+ 'ghost.desktop'
+ 'ghost.polkit'
'http://upload.wikimedia.org/wikipedia/en/5/58/Norton_Ghost_icon.png'
'ftp://ftp.norton.com/public/english_us_canada/products/symantec_ghost_solution_suite/2.5/manuals/readme.txt'
+ 'ftp://ftp.norton.com/public/english_us_canada/products/symantec_ghost_solution_suite/2.5/updates/GSSB2174.zip'
)
+#source[4]="${source[4]##*/}"
-sha256sums=(
- '7d0b4a0f3c15927d8b9c788f61ea05d6dd591fea0db99e8cb5cacaba5dab218c'
+sha256sums=('7d0b4a0f3c15927d8b9c788f61ea05d6dd591fea0db99e8cb5cacaba5dab218c'
'852c2208a95080923e7534146e86d0b50ff790a254161fad900029c7e44181e3'
'849459ed3ff52e76547eb1f90d2963226a4bd9d9875473785cbf3922ab3ca0ac'
- '39b5bca2401df511364904039fb8f692be3095f57df434245cfc36893416b176')
-
-_pkginit() {
- if ! :; then
- ## fetch&extract the binary('ghost') from this file if you have a license of GSS2.5:
- source+=('ftp://ftp.norton.com/public/english_us_canada/products/symantec_ghost_solution_suite/2.5/updates/GSSB2174.zip')
- sha256sums+=('a477be351ba22d7f11bbeebfa2a40cad81d394e6c0c95657e3e4d2705876b228')
- else
- source+=('ghost')
- sha256sums+=('511cbfd3b362b02c5b5f2f0bdde1108bc44001bfa60ee6c5c3f48f80f4256d51')
- fi
-}
-declare -fF srcinfo_write >/dev/null || _pkginit # allow makepkg, deny mksrcinfo & git-aurcheck
+ '39b5bca2401df511364904039fb8f692be3095f57df434245cfc36893416b176'
+ 'a477be351ba22d7f11bbeebfa2a40cad81d394e6c0c95657e3e4d2705876b228')
prepare() {
set -u
- iconv -f cp1251 -t utf8 'readme.txt' -o 'README.txt'
- cp --attributes-only --preserve=timestamps 'readme.txt' 'README.txt'
+ iconv -f 'cp1251' -t 'utf8' 'readme.txt' -o 'README.txt'
+ cp --attributes-only --preserve='timestamps' 'readme.txt' 'README.txt'
set +u
}
package() {
set -u
- install -Dpm744 'ghost' "${pkgdir}/usr/bin/ghost"
+ install -Dpm744 'ghost' -t "${pkgdir}/usr/bin/"
install -Dpm644 'Norton_Ghost_icon.png' "${pkgdir}/usr/share/icons/ghost.png"
- install -Dpm644 'ghost.desktop' "${pkgdir}/usr/share/applications/ghost.desktop"
+ install -Dpm644 'ghost.desktop' -t "${pkgdir}/usr/share/application/"
install -Dpm644 'ghost.polkit' "${pkgdir}/usr/share/polkit-1/actions/org.archlinux.pkexec.ghost.policy"
install -Dpm644 'README.txt' "${pkgdir}/usr/share/doc/${pkgname}/README"
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
- ln -rs "${pkgdir}/usr/share/doc/${pkgname}/README" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+ ln -s "/usr/share/doc/${pkgname}/README" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
set +u
}
set +u