[arch-commits] Commit in solfege/repos (2 files)

David Runge dvzrv at archlinux.org
Thu Jan 11 18:37:34 UTC 2018


    Date: Thursday, January 11, 2018 @ 18:37:33
  Author: dvzrv
Revision: 281368

archrelease: copy trunk to community-testing-x86_64

Added:
  solfege/repos/community-testing-x86_64/
  solfege/repos/community-testing-x86_64/PKGBUILD
    (from rev 281367, solfege/trunk/PKGBUILD)

----------+
 PKGBUILD |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

Copied: solfege/repos/community-testing-x86_64/PKGBUILD (from rev 281367, solfege/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-01-11 18:37:33 UTC (rev 281368)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+# Contributor: sickhate <sickhate at 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:



More information about the arch-commits mailing list