[arch-commits] Commit in pd/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Nov 16 17:12:37 UTC 2020
Date: Monday, November 16, 2020 @ 17:12:36
Author: dvzrv
Revision: 755406
archrelease: copy trunk to community-x86_64
Added:
pd/repos/community-x86_64/PKGBUILD
(from rev 755405, pd/trunk/PKGBUILD)
Deleted:
pd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 190 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 95 insertions(+), 95 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-16 17:12:30 UTC (rev 755405)
+++ PKGBUILD 2020-11-16 17:12:36 UTC (rev 755406)
@@ -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.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}"
-}
Copied: pd/repos/community-x86_64/PKGBUILD (from rev 755405, pd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-16 17:12:36 UTC (rev 755406)
@@ -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.3
+_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=('b235dd98ad55f2d66ec5de0da56e02868c1b93853afce9b51242d21f48481a137b44c7a1653634e13aa3ad12b8faea99dd8a3bf477b0803d53234453ced89d27'
+ '8d8b274e159bd4cc6a83d5d9d5019b106a74fa61943b36e2a56336b9c3c2c1b1092ce7f79f5264eb69ca43a9360404b800df338b2ad738ca3c237a8ae3c9c41d'
+ 'dfc919b56ffc8020ffa4e9b16677a6a710f78a73b22d5bb418414f3196a5cbbe5d6cc9cfbf1389811129f219cb21c0eafdfa6dd90e172d73db2452e5c3fd4f5c')
+b2sums=('a8746d7439b778bc83fc88d3d270219be5d2f431c8a151bc673141c2ae792852a7a21c978462956cdc4b741acb2f26c04e02424debcb9183ac3d2af1801a928c'
+ '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