1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Eric BĂ©langer <eric@archlinux.org>
7 pkgdesc="Portable library for reading/writing Standard MIDI Files"
9 url="https://sourceforge.net/p/portmedia/wiki/portsmf/"
11 depends=('gcc-libs' 'glibc')
12 makedepends=('subversion')
13 provides=('libportSMF.so')
14 options=('!staticlibs')
15 source=("portsmf::svn+https://svn.code.sf.net/p/portmedia/code/portsmf/trunk#revision=$pkgver"
18 'f2961c2da2e5b08e60cbbf7c3d47687ce75ad4f6d7ee1c4f4a5ef1212ef928fe1c61212dc11081155117e2adf51c9ac280e21f791f1da87f69a0dec00605426a')
22 printf "%s" "$(svnversion | tr -d 'A-z')"
27 patch -Np1 -i "${srcdir}/portsmf-shared.patch"
34 ./configure --prefix=/usr \
36 --includedir=/usr/include/portsmf
42 make DESTDIR="${pkgdir}" includedir=/usr/include/portsmf install
43 install -vDm 644 portSMF.pc -t "${pkgdir}/usr/lib/pkgconfig/"
44 install -vDm 644 license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
45 install -vDm 644 README.txt -t "${pkgdir}/usr/share/doc/${pkgname}"