[arch-commits] Commit in pd/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Oct 6 20:48:09 UTC 2019
Date: Sunday, October 6, 2019 @ 20:48:09
Author: dvzrv
Revision: 513664
archrelease: copy trunk to community-x86_64
Added:
pd/repos/community-x86_64/PKGBUILD
(from rev 513663, pd/trunk/PKGBUILD)
Deleted:
pd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 180 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 90 insertions(+), 90 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-06 20:48:03 UTC (rev 513663)
+++ PKGBUILD 2019-10-06 20:48:09 UTC (rev 513664)
@@ -1,90 +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.50.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=('alsa-lib' 'fftw' 'glibc' 'hicolor-icon-theme' 'jack' '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=('afa9e54584306288154474d502976c9458968e3c4e6bd6a63cae08a9e16fd585b8b83ab88d7fc63f480434ba0f42de0392b8c25727cee18f2778ddb86b661eda'
- '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 513663, pd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-06 20:48:09 UTC (rev 513664)
@@ -0,0 +1,90 @@
+# 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.2
+_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=('alsa-lib' 'fftw' 'glibc' 'hicolor-icon-theme' 'jack' '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=('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}"
+}
More information about the arch-commits
mailing list