# Contributor: Christopher Arndt # Contributor: Luis Pablo Gasparotto # Contributor: Phillip Fynan # Maintainer: Peter Sutton _pkgver_year=2024 _pkgver_month=03 _pkgver_day=13 pkgname=abcmidi pkgver="$_pkgver_year$_pkgver_month$_pkgver_day" pkgrel=1 pkgdesc='A set of tools for converting ABC files to MIDI files and vice versa, as well as other small utilities' url='https://ifdo.ca/~seymour/runabc/top.html' license=('GPL') depends=('glibc') makedepends=() source=("https://ifdo.ca/~seymour/runabc/abcMIDI-${_pkgver_year}.${_pkgver_month}.${_pkgver_day}.zip") arch=(x86_64) sha256sums=('939a578551a53147b761e3199a786219153507117be4bb1296cde210b4e25e96') build() { cd "$srcdir"/abcmidi ./configure --prefix=/usr make } package() { cd "$srcdir"/abcmidi make DESTDIR="$pkgdir/" install # Install programming documentation to docdir install -m 755 -d "$pkgdir"/usr/share/doc/$pkgname/programming install -m 644 doc/programming/*.txt doc/programming/*.abc \ "$pkgdir"/usr/share/doc/$pkgname/programming # Install example ABC files to docdir install -m 755 -d "$pkgdir"/usr/share/doc/$pkgname/samples install -m 644 samples/*.abc "$pkgdir"/usr/share/doc/$pkgname/samples }