[arch-commits] Commit in pd/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Sep 9 13:46:10 UTC 2020
Date: Wednesday, September 9, 2020 @ 13:46:10
Author: dvzrv
Revision: 701602
archrelease: copy trunk to community-x86_64
Added:
pd/repos/community-x86_64/PKGBUILD
(from rev 701601, pd/trunk/PKGBUILD)
Deleted:
pd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 190 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 95 insertions(+), 95 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-09 13:44:58 UTC (rev 701601)
+++ PKGBUILD 2020-09-09 13:46:10 UTC (rev 701602)
@@ -1,95 +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.51.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=('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=('c9f49074bc9fb716ef53a8a8c7fd850454daf498b30b6495736ba8f3f6d7f4ccdb4449d824a262f17fa7fee3fe38c151586fa5cfe67b4e1bf67c4b9bb7dd50c2'
- '8d8b274e159bd4cc6a83d5d9d5019b106a74fa61943b36e2a56336b9c3c2c1b1092ce7f79f5264eb69ca43a9360404b800df338b2ad738ca3c237a8ae3c9c41d'
- 'dfc919b56ffc8020ffa4e9b16677a6a710f78a73b22d5bb418414f3196a5cbbe5d6cc9cfbf1389811129f219cb21c0eafdfa6dd90e172d73db2452e5c3fd4f5c')
-b2sums=('cd301b867228836556a07ad16f0aa3ed68ab5bfd9c685d354bdc735db6db993cd0592a9719ea0d782129bb8caab24dd1f3fdfba95f743a9f5c0e22e76f3ec9e1'
- '04f131540fd7ae9b4547a081df61a5a98265c6c9b283587aeda976834d9bbb4486cd30470d5bfb37b6f760d13705074c71cfeb1a9843613e93f3d1e0ca198af9'
- 'c3fabeeb8e5c45716fbf5d3e6338b41d5adc0fbefb385e3b42d94c732522e99a4045c88e8b8e2e16a72fc5795dbc0933f07078d0eba80b76fb274450c7518dc7')
-
-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}"
-}
Copied: pd/repos/community-x86_64/PKGBUILD (from rev 701601, pd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-09 13:46:10 UTC (rev 701602)
@@ -0,0 +1,95 @@
+# 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.51.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=('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=('d60564d1b74267905c703ee4ebca2b516e50ed4ac63357437b820e84d0de21996d2a93d5237d365a57e234308c21b6fb9a6a168289edf4d26a7efa5a2e91b7bd'
+ '8d8b274e159bd4cc6a83d5d9d5019b106a74fa61943b36e2a56336b9c3c2c1b1092ce7f79f5264eb69ca43a9360404b800df338b2ad738ca3c237a8ae3c9c41d'
+ 'dfc919b56ffc8020ffa4e9b16677a6a710f78a73b22d5bb418414f3196a5cbbe5d6cc9cfbf1389811129f219cb21c0eafdfa6dd90e172d73db2452e5c3fd4f5c')
+b2sums=('a850bfcf181faf1c6da32708d321223c78c6b290adbc63c05016a03d183d0f700425748ed63d50a7cad6392e7c1833ce03da039816b83c047286cec977a92a86'
+ '04f131540fd7ae9b4547a081df61a5a98265c6c9b283587aeda976834d9bbb4486cd30470d5bfb37b6f760d13705074c71cfeb1a9843613e93f3d1e0ca198af9'
+ 'c3fabeeb8e5c45716fbf5d3e6338b41d5adc0fbefb385e3b42d94c732522e99a4045c88e8b8e2e16a72fc5795dbc0933f07078d0eba80b76fb274450c7518dc7')
+
+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