summaryrefslogtreecommitdiff
path: root/community/libsmf/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/libsmf/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/libsmf/PKGBUILD')
-rw-r--r--community/libsmf/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
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 <pupykin.s+arch@gmail.com>
+# Maintainer: SpepS <dreamspepser at yahoo dot it>
+
+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"
+}