[arch-commits] Commit in musescore/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Sat Mar 14 16:28:42 UTC 2015


    Date: Saturday, March 14, 2015 @ 17:28:42
  Author: alucryd
Revision: 129263

upgpkg: musescore 2.0rc-1

Modified:
  musescore/trunk/PKGBUILD

----------+
 PKGBUILD |   60 ++++++++++++++++--------------------------------------------
 1 file changed, 16 insertions(+), 44 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-14 14:51:32 UTC (rev 129262)
+++ PKGBUILD	2015-03-14 16:28:42 UTC (rev 129263)
@@ -1,61 +1,33 @@
 # $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 # Contributor: Stefan Husmann <stefan-husmann at t-online.de>
 # Contributor: Cristian Maureira <saint at archlinux.cl>
 # Contributor: Dr.Egg <rwhite at archlinux.us>
 
-pkgbase=musescore
-pkgname=('musescore' 'musescore-docs')
-pkgver=1.3
-pkgrel=6
-pkgdesc="Create, play and print beautiful sheet music"
+pkgname=musescore
+pkgver=2.0rc
+pkgrel=1
+pkgdesc='Create, play and print beautiful sheet music'
 arch=('i686' 'x86_64')
-url="http://musescore.org/"
+url='http://musescore.org/'
 license=('GPL')
-makedepends=('cmake' 'doxygen' 'portaudio' 'qtscriptgenerator' 'texlive-core')
-source=("http://downloads.sourceforge.net/mscore/mscore-${pkgver}.tar.bz2"
-        'mscore-paths.patch')
-sha256sums=('a0b60cc892ac0266c58fc6392be72c0a21c3aa7fd0b6e4f1dddad1c8b36be683'
-            '00984b9a2bb020b4f907cee7e6f95a8f2f0318613acfe79ad6ad9732e85b5150')
+depends=('libpulse' 'portaudio' 'qt5-quick1' 'qt5-svg' 'qt5-tools')
+makedepends=('cmake' 'doxygen' 'lame' 'qt5-script' 'texlive-core')
+optdepends=('lame: MP3 export')
+install='musescore.install'
+source=("musescore-${pkgver}.tar.gz::https://github.com/musescore/MuseScore/archive/v${pkgver}.tar.gz")
+sha256sums=('4718eeb7500df25453a12017a0b46c894040985c522f6be752c941876d7245db')
 
-prepare() {
-  cd mscore-${pkgver}/mscore
-
-  patch -Np2 -i ../../mscore-paths.patch
-}
-
 build() {
-  cd mscore-${pkgver}/mscore
+  cd MuseScore-${pkgver}
 
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build && cd build
-
-  cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DBUILD_SCRIPTGEN='FALSE'
-  make lupdate
-  make lrelease
-  make
+  make PREFIX='/usr' release
 }
 
-package_musescore() {
-  depends=('portaudio' 'qtscriptgenerator')
-  optdepends=('musescore-docs: Documentation')
-  install="${pkgname}.install"
+package() {
+  cd MuseScore-${pkgver}/build.release
 
-  cd mscore-${pkgver}/mscore/build
-
   make DESTDIR="${pkgdir}" install
-  rm -rf "${pkgdir}"/usr/share/mscore-${pkgver}/man
 }
 
-package_musescore-docs() {
-  pkgdesc="Documentation for MuseScore"
-
-  cd mscore-${pkgver}/mscore
-
-  install -dm 755 "${pkgdir}"/usr/share/doc/${pkgbase}
-  install -m 644 manual/*.pdf "${pkgdir}"/usr/share/doc/${pkgbase}/
-}
-
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list