summaryrefslogtreecommitdiff
path: root/pcr/libsmf/PKGBUILD
blob: c5efa0f585dac8db74be6a0dc16b1a0062372ec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor (AUR): foutrelis 
# Contributor (AUR): Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor (AUR): SpepS <dreamspepser at yahoo dot it>
# Maintainer (AUR): Stefan Husmann <stefan-husmann@t-online.de>

# parabola changes and rationale:
#  no changes.

pkgname=libsmf
pkgver=1.3
pkgrel=6
pkgdesc='A BSD-licensed C library for handling SMF ("*.mid") files.'
arch=('x86_64' 'i686' 'armv7h')
url="http://sourceforge.net/projects/libsmf/"
license=('custom:BSD')
depends=('glib2' 'readline')
source=("http://downloads.sourceforge.net/project/libsmf/libsmf/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('eb698f1bc0bad9d5bce4c10386347486')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr \
              --enable-static=no
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}