Advertisement
p-mac

AUR abcMIDI pkg install error

Dec 8th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. AUR abcMIDI .SRCINFO contents:
  2. -------------------------------
  3. pkgbase = abcmidi
  4. pkgdesc = A set of tools for converting ABC files to MIDI files and vice versa, as well as other small utilities
  5. pkgver = 20150417
  6. pkgrel = 1
  7. url = http://abc.sourceforge.net/abcMIDI/
  8. changelog = ChangeLog
  9. arch = i686
  10. arch = x86_64
  11. license = GPL
  12. makedepends = unzip
  13. depends = glibc
  14. source = http://ifdo.pugmarks.com/~seymour/runabc/abcMIDI-2015-04-17.zip
  15. sha256sums = 764a5ff1d0d6de5289156b76028b025d2f03b8d7bfaeb459c71b82b04cdb0682
  16.  
  17. pkgname = abcmidi
  18. -----------------------------
  19.  
  20. AUR abcMIDI PKGBUILD contents:
  21. -----------------------------
  22. # Contributor: Christopher Arndt <chris@chrisarndt.de>
  23. # Contributor: Luis Pablo Gasparotto <lpgasparotto at gmail dot com>
  24. # Contributor: Phillip Fynan <pfynan@gmail.com>
  25. # Maintainer: Peter Sutton <foxxy@foxdogstudios.com>
  26.  
  27. _pkgver_year=2016
  28. _pkgver_month=05
  29. _pkgver_day=05
  30.  
  31. pkgname=abcmidi
  32. pkgver="${_pkgver_year}${_pkgver_month}${_pkgver_day}"
  33. pkgrel=1
  34. pkgdesc="A set of tools for converting ABC files to MIDI files and vice versa, as well as other small utilities"
  35. url="http://abc.sourceforge.net/abcMIDI/"
  36. license=('GPL')
  37. depends=()
  38. makedepends=()
  39. changelog=ChangeLog
  40. source=("https://github.com/leesavide/abcmidi/archive/abcmidi-${_pkgver_year}.${_pkgver_month}.${_pkgver_day}.tar.gz")
  41. arch=(i686 x86_64)
  42. sha256sums=('ad5a42215ba9d247864e19f7fe2ea20906e686279dd7b5659314c52bb2df24e0')
  43.  
  44. _srcdir=abcmidi-abcmidi-${_pkgver_year}.${_pkgver_month}.${_pkgver_day}
  45.  
  46. build() {
  47. cd $srcdir/$_srcdir
  48. make 'binaries=abc2midi midi2abc abc2abc mftext midicopy abcmatch'
  49. }
  50.  
  51. package() {
  52. cd $srcdir/$_srcdir
  53. mkdir -p $pkgdir/usr/bin
  54. make prefix=$pkgdir/usr 'binaries=abc2midi midi2abc abc2abc mftext midicopy abcmatch' install
  55. # install programming documentation to docdir
  56. install -m 755 -d $pkgdir/usr/share/doc/$pkgname/programming
  57. install -m 644 doc/programming/*.txt doc/programming/*.abc \
  58. $pkgdir/usr/share/doc/$pkgname/programming
  59. # install example ABC files to docdir
  60. install -m 755 -d $pkgdir/usr/share/doc/$pkgname/samples
  61. install -m 644 samples/*.abc $pkgdir/usr/share/doc/$pkgname/samples
  62. }
  63.  
  64.  
  65. -----------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement