# Maintainer: Jesus E. pkgname=mp3splt pkgver=2.6.2 pkgrel=1 arch=('i686' 'x86_64') pkgdesc="Commandline tool for splitting mp3 and ogg files without decoding" license=('GPL-2') url='http://mp3splt.sourceforge.net' depends=('libmp3splt') source=("https://downloads.sourceforge.net/sourceforge/mp3splt/$pkgname-$pkgver.tar.gz") sha512sums=('c1cbdc905d4f19e8e20afeadf02a2967049d86e69613312c8855e03afc5b190a569ac63f970171384853961cbe6bf248fae47e5116c4fe9deb7a0787f299918b') build() { cd $pkgname-$pkgver ./configure \ --prefix=/usr \ --with-mp3splt-includes=/usr/include/libmp3splt \ --enable-oggsplt_symlink make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir/" install install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname" }