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

David Runge dvzrv at archlinux.org
Sat May 9 19:21:43 UTC 2020


    Date: Saturday, May 9, 2020 @ 19:21:43
  Author: dvzrv
Revision: 626058

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  182 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 92 insertions(+), 90 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-09 19:21:30 UTC (rev 626057)
+++ PKGBUILD	2020-05-09 19:21:43 UTC (rev 626058)
@@ -1,90 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# 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.2
-_ver=${pkgver%.*}-${pkgver##*.}
-pkgrel=2
-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=('alsa-lib' 'fftw' 'glibc' 'hicolor-icon-theme' 'libjack.so'
-'libportaudio.so' 'libportmidi.so' 'tk')
-makedepends=('gendesk' 'inkscape')
-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=('a999831071aedb65678b544cf859cc3e06e2f57d151e9d9da572c669d229f7bf886d7d03f876a93b0f2b69851d3b2971ed9fba74df0083032880f058dddf74f0'
-            '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 \
-              --disable-oss \
-              --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}"
-}

Copied: pd/repos/community-x86_64/PKGBUILD (from rev 626057, pd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-09 19:21:43 UTC (rev 626058)
@@ -0,0 +1,92 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# 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.2
+_ver=${pkgver%.*}-${pkgver##*.}
+pkgrel=3
+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=('glibc' 'hicolor-icon-theme'  'tk')
+makedepends=('alsa-lib' 'fftw' 'gendesk' 'inkscape' 'jack' 'portaudio'
+'portmidi')
+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=('a999831071aedb65678b544cf859cc3e06e2f57d151e9d9da572c669d229f7bf886d7d03f876a93b0f2b69851d3b2971ed9fba74df0083032880f058dddf74f0'
+            '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 -o "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 \
+              --disable-oss \
+              --without-local-portaudio \
+              --without-local-portmidi
+  make
+}
+
+package() {
+  depends+=('libasound.so' 'libfftw3f.so' 'libjack.so' 'libportaudio.so'
+  'libportmidi.so')
+  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