Date: Thursday, January 11, 2018 @ 22:41:06 Author: dvzrv Revision: 281499
archrelease: copy trunk to community-testing-x86_64 Added: solfege/repos/community-testing-x86_64/PKGBUILD (from rev 281498, solfege/trunk/PKGBUILD) Deleted: solfege/repos/community-testing-x86_64/PKGBUILD ----------+ PKGBUILD | 114 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 60 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-01-11 22:40:51 UTC (rev 281498) +++ PKGBUILD 2018-01-11 22:41:06 UTC (rev 281499) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: David Runge <d...@sleepmap.de> -# Maintainer: Ray Rashif <sc...@archlinux.org> -# Contributor: Corrado Primier <ba...@aur.archlinux.org> -# Contributor: sickhate <sickh...@tux-linux.net> - -pkgname=solfege -pkgver=3.22.2 -pkgrel=3 -pkgdesc="Music education and ear training software" -arch=('x86_64') -url="https://www.gnu.org/software/solfege/" -license=('GPL3') -depends=('pygtk' 'librsvg') -makedepends=('ghostscript' 'gnome-doc-utils' 'libxslt' - 'swig' 'texinfo' 'txt2man') -optdepends=('timidity++: or any MIDI player & MIDI-WAV converter' - 'mpg123: or any MP3 player' - 'lame: or any WAV-MP3 converter' - 'vorbis-tools: or any OGG player & WAV-OGG converter' - 'lilypond: for generating print-outs & score sheets' - 'texlive-bin: use LaTeX to replace HTML reports with DVI') -source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig}) -sha512sums=('475d2eea54d0c6b2cb11a5271a02ca64e79c45fb6155d87a01b16e826669a07cca0b4c2543cbbb1ce8d36412ccfd64e8052de1efad3db19f34d7e0a984d7459a' - 'SKIP') -validgpgkeys=('D1820E3CCB05255CCD9855988143F7EEA5E43EA3') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - # python2 fix for entire build - export PYTHON=/usr/bin/python2 - - # python2 fix for rogue Makefile - sed -i 's/shell python/shell python2/g' help/Makefile - - ./configure --prefix=/usr \ - --sysconfdir=/etc - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - # python2 fix for runtime - for i in $(find "$pkgdir" -name '*.py'); do - sed -i 's:^#!.*bin/python$:#!/usr/bin/python2:' "$i" - sed -i 's:^#!.*bin/env python$:#!/usr/bin/env python2:' "$i" - done - - make DESTDIR="$pkgdir" install -} - -# vim:set ts=2 sw=2 et: Copied: solfege/repos/community-testing-x86_64/PKGBUILD (from rev 281498, solfege/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-01-11 22:41:06 UTC (rev 281499) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: David Runge <d...@sleepmap.de> +# Maintainer: Ray Rashif <sc...@archlinux.org> +# Contributor: Corrado Primier <ba...@aur.archlinux.org> +# Contributor: sickhate <sickh...@tux-linux.net> + +pkgname=solfege +pkgver=3.22.2 +pkgrel=4 +pkgdesc="Music education and ear training software" +arch=('x86_64') +url="https://www.gnu.org/software/solfege/" +license=('GPL3') +depends=('pygtk' 'librsvg') +makedepends=('ghostscript' 'gnome-doc-utils' 'libxslt' + 'swig' 'texinfo' 'txt2man') +optdepends=('timidity++: or any MIDI player & MIDI-WAV converter' + 'mpg123: or any MP3 player' + 'lame: or any WAV-MP3 converter' + 'vorbis-tools: or any OGG player & WAV-OGG converter' + 'lilypond: for generating print-outs & score sheets' + 'texlive-bin: use LaTeX to replace HTML reports with DVI') +source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig}) +sha512sums=('475d2eea54d0c6b2cb11a5271a02ca64e79c45fb6155d87a01b16e826669a07cca0b4c2543cbbb1ce8d36412ccfd64e8052de1efad3db19f34d7e0a984d7459a' + 'SKIP') +validpgpkeys=('D1820E3CCB05255CCD9855988143F7EEA5E43EA3') + +prepare() { + cd "${pkgname}-${pkgver}" + # python2 fix for entire build + export PYTHON=/usr/bin/python2 + + # python2 fix for rogue Makefile + sed -i 's/shell python/shell python2/g' help/Makefile + + # fix static python shebang + sed -i 's/python/python2/g' "${pkgname}/_version.py" +} + +build() { + cd "${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --sysconfdir=/etc + make +} + +package() { + cd "${pkgname}-${pkgver}" + + # python2 fix for runtime + for i in $(find "$pkgdir" -name '*.py'); do + sed -i 's:^#!.*bin/python$:#!/usr/bin/python2:' "$i" + sed -i 's:^#!.*bin/env python$:#!/usr/bin/env python2:' "$i" + done + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: