diff options
author | Chris Severance | 2019-10-17 20:34:16 -0400 |
---|---|---|
committer | Chris Severance | 2019-10-17 20:34:16 -0400 |
commit | 2aaeb2fd27f8d41c989423dfc32cdf86c17b7eef (patch) | |
tree | df5e127ed553bc7f9464b6bc40b4ce76896f3f6c /PKGBUILD | |
parent | 71e70864b639d90f00d87a18e5072aa37b376158 (diff) | |
download | aur-2aaeb2fd27f8d41c989423dfc32cdf86c17b7eef.tar.gz |
autu: Update to 5.3.4-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 73 |
1 files changed, 39 insertions, 34 deletions
@@ -4,61 +4,66 @@ set -u pkgname='zoiper' -pkgver='5.2.28' +pkgver='5.3.4' pkgrel='1' pkgdesc='a SIP and IAX2 VoIP softphone' arch=('i686' 'x86_64') -url='http://www.zoiper.com/' +url='https://www.zoiper.com/' license=('custom') depends=('gtk2' 'gconf' 'libnotify' 'libxss' 'v4l-utils') options=('!strip') -source=('LICENSE' "${pkgname}.desktop" "${pkgname}.png" "${pkgname}-24.png" "${pkgname}-48.png" "${pkgname}-96.png") -source+=('zoipdl.sh') -_srcfile="${pkgname}${pkgver%%.*}_${pkgver}_${CARCH:-}.tar.xz" -sha1sums=('645d0003fe2e0975c53e008aa31106cceb0d8dad' - 'ec8e948442bd0d010004420f7338ccfb08985007' - 'c1eea005beb7587b24b0a0d242eebc49a67f9026' - '1a0f4c83c6b538584865df327702f800689493b0' - '7fef1f81c32fc4be2d876fadf34178f60ea0a29e' - '11fb63a8353353d28288a644aeb4cdf9a3ab3e8c' - 'e3235992f6367a598a97fe288ae663035ac18b16') -sha256sums=('4ed406e6786163514ff0714af7417e680c56cbe1edcb297196d6dbee2ffa798b' +_srcfil="${pkgname}${pkgver%%.*}_${pkgver}_${CARCH:-}.tar.xz" +source=( + "manual://${_srcfil}" + 'LICENSE' "${pkgname}.desktop" "${pkgname}.png" "${pkgname}-24.png" "${pkgname}-48.png" "${pkgname}-96.png" +) +source+=('zoipdl.sh' 'readme.sh') +noextract=("${_srcfil}") +md5sums=('7b96f26388231f3558d6310e37c945b5' + 'af44d50f7be21acccbb3f70e831b57b9' + '1c77ec64b25899d3b027153da9a0a598' + 'c11462ef768e78964c9771ef8ba9490f' + 'd2a00d37c81be11e43c273b5b18e1c09' + 'a2b638b39dd25ae029ec80ade53cd48b' + 'b03e6d65d8b5e22566c20b9a34eb5b95' + '5b8ff14d5b35553775f43db264630109' + 'fd42ad359f60c60d757e3e162c291879') +sha256sums=('a1423cfb7999a0b728d7f2918b22604ece9e6d6e24efb461690112e178f1fa96' + '4ed406e6786163514ff0714af7417e680c56cbe1edcb297196d6dbee2ffa798b' '8d449a3f15d0a1f6307106bcb5f62ec8f921ba2279d5d42042bd0d2beb08f103' 'b3dd0f8bb4314444177b122d032142459cba606b8f7812a8489d3cbbf83f2b3b' '79bac289dba2ed8bc65886643ba6aaf1a5057ed1ff5605a0eac166d7f4afd0b8' '5a795b8248a576a7166e7f4d773f83a41a640d698917a35eb8bfa7eef7c4bfcc' '619466b96c560fbd2511c04120810f0cb30a58aa12d5bcca2af977bcd527fb41' - '566a2008a28df0d1ceeff4b935490b9a9ce7bd959b4c21df27daa9adcbb999a0') + '9081235eda1c4020b578b43414071ee64a50552bcd7ac16acd0507899e5a90e2' + '112b1528f30537e4374f94af822c61f382269a5b6e6bd55dc5df1ee9bfe38ea9') PKGEXT='.pkg.tar.gz' +# from oracle-sqldeveloper +_url='https://www.zoiper.com/en/voip-softphone/download/zoiper5/for/linux' +DLAGENTS+=("manual::./readme.sh ${_url} %o %u") +if [ -s ~/"Downloads/${_srcfil}" ] && [ ! -e "${_srcfil}" ]; then + if type msg > /dev/null 2>&1; then + set +u + msg "Scooping files from ~/Downloads" + msg2 "${_srcfil}" + set -u + ln -sr ~/"Downloads/${_srcfil}" + fi +fi if ! :; then - source+=("${_srcfile}::https://zoipdl.tgz") + source[0]="${_srcfil}::zoipdl://zoipdl.tgz" # DLAGENTS requires an executable file and cannot call PKGBUILD functions - #DLAGENTS=("https::${startdir}/zoipdl.sh %o %u") # does not work with spaces in folder names, printf %q doesn't work any better - DLAGENTS=("https::./zoipdl.sh %o %u") # will a relative path work for every AUR helper? - noextract=("${_srcfile}") + #DLAGENTS=("zoipdl::${startdir}/zoipdl.sh %o %u") # does not work with spaces in folder names, printf %q doesn't work any better + DLAGENTS+=("zoipdl::./zoipdl.sh %o %u") # will a relative path work for every AUR helper? fi -# Should be in prepare() but pacaur suppresses the message text from prepare() and does not halt on prepare() failure. -build() { - set -u - if ! test -e "${startdir}/${_srcfile}"; then - set +u - local _url='https://www.zoiper.com/en/voip-softphone/download/zoiper5/for/linux' - warning "There is no longer a direct download link for the Zoiper tarball." - warning "Get it manually from: ${_url}" - warning "Or use the supplied ${startdir}/zoipdl.sh" - false - fi - set +u -} - package() { set -u install -d "${pkgdir}/usr/lib" pushd "${pkgdir}/usr/lib" > /dev/null - set +u; msg2 "Unpack ${_srcfile}"; set -u - bsdtar --no-same-owner -xf "${startdir}/${_srcfile}" + set +u; msg2 "Unpack ${_srcfil}"; set -u + bsdtar --no-same-owner -xf "${startdir}/${_srcfil}" mv "Zoiper${pkgver%%.*}" "${pkgname}" pushd "${pkgname}" > /dev/null chmod 755 "${pkgname}" |