| 1 |
# Maintainer: Michael Gogins <[email protected]> |
| 2 |
|
| 3 |
pkgname=libportsmf |
| 4 |
pkgver=230M |
| 5 |
pkgrel=1 |
| 6 |
pkgdesc="A library for reading, writing, and manipulating standard midi files." |
| 7 |
arch=('x86_64') |
| 8 |
license=('LGPL') |
| 9 |
url="https://sourceforge.net/p/portmedia/wiki/portsmf/" |
| 10 |
source=("svn://svn.code.sf.net/p/portmedia/code/portsmf/trunk/${srcdir}") |
| 11 |
md5sums=('SKIP') |
| 12 |
|
| 13 |
pkgver() { |
| 14 |
cd "$srcdir/trunk" |
| 15 |
echo $(svnversion .) |
| 16 |
} |
| 17 |
|
| 18 |
build() { |
| 19 |
cd "${srcdir}/trunk" |
| 20 |
autoreconf |
| 21 |
./configure CXX=g++ CXXFLAGS=-fpermissive --prefix="${pkgdir}${MINGW_PREFIX}" --includedir="${PREFIX}/include/portsmf" |
| 22 |
make |
| 23 |
} |
| 24 |
package() { |
| 25 |
cd ${srcdir}/trunk |
| 26 |
make install |
| 27 |
} |