[arch-commits] Commit in pd/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Tuesday, August 20, 2019 @ 10:49:52
  Author: dvzrv
Revision: 500271

archrelease: copy trunk to community-x86_64

Added:
  pd/repos/community-x86_64/PKGBUILD
    (from rev 500270, pd/trunk/PKGBUILD)
Deleted:
  pd/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  173 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 89 insertions(+), 84 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-20 10:49:47 UTC (rev 500270)
+++ PKGBUILD	2019-08-20 10:49:52 UTC (rev 500271)
@@ -1,84 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: speps <speps at aur dot archlinux dot org>
-# Contributor: TDY <tdy at gmx.com>
-# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
-
-_resolutions=( 16 32 48 64 96 128 256 512 1024 )
-_name=pure-data
-pkgname=pd
-pkgver=0.49.1
-_ver=${pkgver%.*}-${pkgver##*.}
-pkgrel=1
-pkgdesc="The Pure Data real-time music and multimedia environment"
-arch=('x86_64')
-url="http://msp.ucsd.edu/software.html"
-license=('BSD')
-groups=('pro-audio')
-depends=('fftw' 'hicolor-icon-theme' 'portaudio' 'tk')
-makedepends=('gendesk' 'inkscape' 'portmidi')
-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')
-
-prepare() {
-  mv -v "${_name}-${_ver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  autoreconf -vfi
-  # XDG desktop files
-  gendesk -n \
-          --pkgname ${pkgname} \
-          --pkgdesc "${pkgdesc}" \
-          --exec ${pkgname} \
-          --name "Pure Data" \
-          --categories "AudioVideo;Audio"
-  for _res in ${_resolutions[@]}; do
-    inkscape -z -e "pd-${_res}.png" \
-             -w "${_res}" \
-             -h "${_res}" \
-             "../${pkgname}.svg"
-  done
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  ./configure --prefix=/usr \
-              --enable-alsa \
-              --enable-fftw \
-              --enable-jack \
-              --enable-portaudio \
-              --enable-portmidi \
-              --without-local-portaudio \
-              --without-local-portmidi
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-
-  # license
-  install -vDm 644 LICENSE.txt \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  # desktop file
-  install -vDm 644 "${pkgname}.desktop" \
-    -t "${pkgdir}/usr/share/applications/"
-  # 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"
-  for _res in ${_resolutions[@]}; do
-    install -vDm 644 "${pkgname}-${_res}.png" \
-      "${pkgdir}/usr/share/icons/hicolor/${_res}x${_res}/apps/${pkgname}.png"
-  done
-  # readme
-  install -vDm 644 README.txt -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  # fix broken symlink
-  ls -lah "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
-  rm -v "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
-  ln -sv "/usr/bin/${pkgname}" "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
-  ls -lah "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
-}

Copied: pd/repos/community-x86_64/PKGBUILD (from rev 500270, pd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-20 10:49:52 UTC (rev 500271)
@@ -0,0 +1,89 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
+
+_resolutions=( 16 32 48 64 96 128 256 512 1024 )
+_name=pure-data
+pkgname=pd
+pkgver=0.50.0
+_ver=${pkgver%.*}-${pkgver##*.}
+pkgrel=1
+pkgdesc="The Pure Data real-time music and multimedia environment"
+arch=('x86_64')
+url="http://msp.ucsd.edu/software.html"
+license=('BSD')
+groups=('pro-audio')
+depends=('fftw' 'hicolor-icon-theme' 'portaudio' 'tk')
+makedepends=('gendesk' 'inkscape' 'portmidi')
+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}-${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}"
+  cd "${pkgname}-${pkgver}"
+  autoreconf -vfi
+  # XDG desktop files
+  gendesk -n \
+          --pkgname ${pkgname} \
+          --pkgdesc "${pkgdesc}" \
+          --exec ${pkgname} \
+          --name "Pure Data" \
+          --categories "AudioVideo;Audio"
+  for _res in ${_resolutions[@]}; do
+    inkscape -z -e "pd-${_res}.png" \
+             -w "${_res}" \
+             -h "${_res}" \
+             "../${pkgname}-${pkgver}.svg"
+  done
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr \
+              --enable-alsa \
+              --enable-fftw \
+              --enable-jack \
+              --enable-portaudio \
+              --enable-portmidi \
+              --without-local-portaudio \
+              --without-local-portmidi
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # licenses
+  install -vDm 644 LICENSE.txt \
+    -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/"
+  # icons
+  install -vDm 644 "${pkgname}-32.png" \
+    "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+  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"
+  done
+  # readme
+  install -vDm 644 README.txt -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  # fix broken symlink
+  ls -lah "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
+  rm -v "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
+  ln -sv "/usr/bin/${pkgname}" "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
+  ls -lah "${pkgdir}/usr/lib/${pkgname}/bin/${pkgname}"
+}


More information about the arch-commits mailing list