Date: Monday, April 23, 2018 @ 21:46:12 Author: dvzrv Revision: 317461
archrelease: copy trunk to community-x86_64 Added: din/repos/community-x86_64/PKGBUILD (from rev 317460, din/trunk/PKGBUILD) Deleted: din/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 87 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-23 21:46:04 UTC (rev 317460) +++ PKGBUILD 2018-04-23 21:46:12 UTC (rev 317461) @@ -1,43 +0,0 @@ -# Maintainer: David Runge <d...@sleepmap.de> -# Contributor: muzhed <chusto...@126.com> - -pkgname=din -pkgver=33 -pkgrel=1 -pkgdesc="A sound synthesizer and musical instrument." -arch=('x86_64') -url="https://dinisnoise.org/" -license=('GPL2') -groups=('pro-audio') -depends=('hicolor-icon-theme' 'jack' 'libgl' 'sdl' 'tcl') -makedepends=('boost' 'glu') -source=("https://archive.org/download/dinisnoise_source_code/${pkgname}-${pkgver}.tar.gz") -sha512sums=('df94b16fcfe1d95f824e4c0937935db1efaff6705912f4f629ce4b55ada7c9118d56dd3dce48fd9a73c6bbe2b0918c72113cffad42f3bd387bfd2accf5f1a4cb') - -prepare() { - cd "${pkgname}-${pkgver}" - autoreconf -vfi -} - -build() { - cd "${pkgname}-${pkgver}" - CXXFLAGS="${CXXFLAGS} -O3 -D__UNIX_ALSA__ -D__UNIX_JACK__" \ - CFLAGS="${CFLAGS} -O3" \ - ./configure --prefix='/usr' - make -} - -package() { - cd "${pkgname}-${pkgver}" - make install DESTDIR="${pkgdir}" - # move desktop file and icon to correct directories - # change of the default location has been requested upstream - install -vdm 755 "${pkgdir}/usr/share/"{applications,icons/hicolor/scalable} - mv -v "${pkgdir}/usr/share/${pkgname}/pixmaps/${pkgname}.desktop" \ - "${pkgdir}/usr/share/applications/${pkgname}.desktop" - mv -v "${pkgdir}/usr/share/${pkgname}/pixmaps/${pkgname}.svg" \ - "${pkgdir}/usr/share/icons/hicolor/scalable/${pkgname}.svg" - # docs - install -t "${pkgdir}/usr/share/doc/${pkgname}/" \ - -vDm 644 {AUTHORS,BUGS,CHANGELOG,NEWS,README,TODO} -} Copied: din/repos/community-x86_64/PKGBUILD (from rev 317460, din/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-23 21:46:12 UTC (rev 317461) @@ -0,0 +1,44 @@ +# Maintainer: David Runge <d...@sleepmap.de> +# Contributor: muzhed <chusto...@126.com> + +pkgname=din +pkgver=33 +pkgrel=2 +pkgdesc="A sound synthesizer and musical instrument." +arch=('x86_64') +url="https://dinisnoise.org/" +license=('GPL2') +groups=('pro-audio') +depends=('hicolor-icon-theme' 'jack' 'libgl' 'sdl' 'tcl') +makedepends=('boost' 'glu') +source=("https://archive.org/download/dinisnoise_source_code/${pkgname}-${pkgver}.tar.gz") +sha512sums=('df94b16fcfe1d95f824e4c0937935db1efaff6705912f4f629ce4b55ada7c9118d56dd3dce48fd9a73c6bbe2b0918c72113cffad42f3bd387bfd2accf5f1a4cb') + +prepare() { + cd "${pkgname}-${pkgver}" + autoreconf -vfi +} + +build() { + cd "${pkgname}-${pkgver}" + CXXFLAGS="${CXXFLAGS} -O3 -D__UNIX_ALSA__ -D__UNIX_JACK__" \ + CFLAGS="${CFLAGS} -O3" \ + ./configure --prefix='/usr' + make +} + +package() { + cd "${pkgname}-${pkgver}" + make install DESTDIR="${pkgdir}" + # move desktop file and icon to correct directories + # change of the default location has been requested upstream + install -vdm 755 \ + "${pkgdir}/usr/share/"{applications,icons/hicolor/scalable/apps} + mv -v "${pkgdir}/usr/share/${pkgname}/pixmaps/${pkgname}.desktop" \ + "${pkgdir}/usr/share/applications/${pkgname}.desktop" + mv -v "${pkgdir}/usr/share/${pkgname}/pixmaps/${pkgname}.svg" \ + "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg" + # docs + install -t "${pkgdir}/usr/share/doc/${pkgname}/" \ + -vDm 644 {AUTHORS,BUGS,CHANGELOG,NEWS,README,TODO} +}