[arch-commits] Commit in pd/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Aug 20 10:49:47 UTC 2019


    Date: Tuesday, August 20, 2019 @ 10:49:47
  Author: dvzrv
Revision: 500270

upgpkg: pd 0.50.0-1

Upgrading to 0.50.0. Adding license for icons and pinning version of icon svg and icon license to specific commit to ensure checksum.

Modified:
  pd/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-20 10:48:12 UTC (rev 500269)
+++ PKGBUILD	2019-08-20 10:49:47 UTC (rev 500270)
@@ -6,7 +6,7 @@
 _resolutions=( 16 32 48 64 96 128 256 512 1024 )
 _name=pure-data
 pkgname=pd
-pkgver=0.49.1
+pkgver=0.50.0
 _ver=${pkgver%.*}-${pkgver##*.}
 pkgrel=1
 pkgdesc="The Pure Data real-time music and multimedia environment"
@@ -19,9 +19,11 @@
 optdepends=('portmidi: for alternative portmidi support')
 provides=('puredata')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pure-data/pure-data/archive/${_ver}.tar.gz"
-        "${pkgname}.svg::https://raw.githubusercontent.com/pure-data/pd-icon/master/masters/icon.svg")
-sha512sums=('c2dd4eadc622b1a626095cad95ce7e34be569414671af5938b339665526545174cf7abb77bf49943f617a93b3fae54fc890df46f1b9f73cb93b13a36db490fd7'
-            '3c88122e0bdbdda73d47a688de7264f4cf86537b981dfabcbc646fc621189612bd0ae4804ba962d533072df85faddb9a77daf3eb7c6ef8ea46c22e3216bf0d74')
+        "${pkgname}-${pkgver}.svg::https://raw.githubusercontent.com/pure-data/pd-icon/9e4f117ade0bc1da951981128998ad82fff83b0c/masters/icon.svg"
+        "${pkgname}-${pkgver}-icon-LICENSE.txt::https://raw.githubusercontent.com/pure-data/pd-icon/9e4f117ade0bc1da951981128998ad82fff83b0c/LICENSE.txt")
+sha512sums=('0478f00bb929c9b6814c972e25b32a9e293b112d4a58d9a9e10abccff481c2d5870ba1cc8e9906bf0bfd2f3ef1b71e17f8a9828975714b37af6aa22ea00122a2'
+            '8d8b274e159bd4cc6a83d5d9d5019b106a74fa61943b36e2a56336b9c3c2c1b1092ce7f79f5264eb69ca43a9360404b800df338b2ad738ca3c237a8ae3c9c41d'
+            'dfc919b56ffc8020ffa4e9b16677a6a710f78a73b22d5bb418414f3196a5cbbe5d6cc9cfbf1389811129f219cb21c0eafdfa6dd90e172d73db2452e5c3fd4f5c')
 
 prepare() {
   mv -v "${_name}-${_ver}" "${pkgname}-${pkgver}"
@@ -38,7 +40,7 @@
     inkscape -z -e "pd-${_res}.png" \
              -w "${_res}" \
              -h "${_res}" \
-             "../${pkgname}.svg"
+             "../${pkgname}-${pkgver}.svg"
   done
 }
 
@@ -59,9 +61,12 @@
   cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 
-  # license
+  # licenses
   install -vDm 644 LICENSE.txt \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 ../${pkgname}-${pkgver}-icon-LICENSE.txt \
+    "${pkgdir}/usr/share/licenses/${pkgname}/icon-LICENSE.txt"
+
   # desktop file
   install -vDm 644 "${pkgname}.desktop" \
     -t "${pkgdir}/usr/share/applications/"
@@ -68,8 +73,8 @@
   # icons
   install -vDm 644 "${pkgname}-32.png" \
     "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
-  install -vDm 644 "${srcdir}/${pkgname}.svg" \
-    -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
+  install -vDm 644 "${srcdir}/${pkgname}-${pkgver}.svg" \
+    "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
   for _res in ${_resolutions[@]}; do
     install -vDm 644 "${pkgname}-${_res}.png" \
       "${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps/${pkgname}.png"


More information about the arch-commits mailing list