From 6f9a9504db6338f0c35c4ca70bad42965b74791a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 7 Dec 2011 23:14:52 +0000 Subject: Wed Dec 7 23:14:52 UTC 2011 --- community/libsmf/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 community/libsmf/PKGBUILD (limited to 'community/libsmf') diff --git a/community/libsmf/PKGBUILD b/community/libsmf/PKGBUILD new file mode 100644 index 000000000..62f77a96a --- /dev/null +++ b/community/libsmf/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 60154 2011-12-06 08:54:54Z spupykin $ +# Maintainer: Sergej Pupykin +# Maintainer: SpepS + +pkgname=libsmf +pkgver=1.3 +pkgrel=3 +pkgdesc='A BSD-licensed C library for handling SMF ("*.mid") files.' +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/libsmf/" +license=('BSD') +depends=('glib2' 'readline') +options=('!libtool') +source=("http://downloads.sourceforge.net/project/libsmf/libsmf/$pkgver/$pkgname-$pkgver.tar.gz") +md5sums=('eb698f1bc0bad9d5bce4c10386347486') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr \ + --enable-static=no + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} -- cgit v1.2.3-54-g00ecf