mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 15:27:13 +08:00
Add libsmf
This commit is contained in:
parent
21ea9a1f7a
commit
a0f634f11e
24
libsmf/PKGBUILD
Normal file
24
libsmf/PKGBUILD
Normal file
@ -0,0 +1,24 @@
|
||||
pkgname=libsmf
|
||||
pkgver=1.3
|
||||
pkgrel=1
|
||||
pkgdesc='A BSD-licensed C library for handling SMF ("*.mid") files.'
|
||||
arch=('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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user