Skip to content

Commit

Permalink
cmus, libcue, libcddb
Browse files Browse the repository at this point in the history
  • Loading branch information
asiekierka committed Jun 10, 2014
1 parent b7691b7 commit 1679808
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 0 deletions.
32 changes: 32 additions & 0 deletions cmus/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
pkgname=cmus
pkgver=2.5.1
pkgrel=1
pkgdesc="console music player"
arch=('i686' 'x86_64')
url="http://cmus.github.io"
source=("https://github.com/cmus/cmus/archive/v$pkgver.tar.gz")
md5sums=('SKIP')
depends=("ncurses" "alsa-lib")
makedepends=("libmad" "libflac" "libmodplug" "libvorbis" "libcddb" "libcue")
optdepends=("libmad: mp3 support"
"libflac: FLAC support"
"libmodplug: .MOD/.S3M/.XM/.IT (chiptune) support"
"libvorbis: .ogg support"
"libcddb: CDDB library support"
"libcue: .cue support"
)

build() {
cd "$pkgname-$pkgver"
./configure prefix=/ CONFIG_CDDB=y CONFIG_CDIO=n CONFIG_DISCID=n CONFIG_FLAC=y CONFIG_MAD=y \
CONFIG_MODPLUG=y CONFIG_MIKMOD=n CONFIG_MPC=n CONFIG_VORBIS=y CONFIG_OPUS=n CONFIG_WAVPACK=n \
CONFIG_MP4=n CONFIG_AAC=n CONFIG_FFMPEG=n CONFIG_CUE=y CONFIG_ROAR=n CONFIG_PULSE=n \
CONFIG_ALSA=y CONFIG_JACK=n CONFIG_SAMPLERATE=n CONFIG_AO=n CONFIG_ARTS=n CONFIG_OSS=n \
CONFIG_SUN=n CONFIG_WAVEOUT=n
make
}

package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
20 changes: 20 additions & 0 deletions libcddb/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pkgname=libcddb
pkgver=1.3.2
pkgrel=1
pkgdesc="CDDB library"
arch=('i686' 'x86_64')
url="http://libcddb.sourceforge.net"
source=("http://prdownloads.sourceforge.net/libcddb/$pkgname-$pkgver.tar.bz2")
md5sums=('SKIP')
options=('strip' 'debug')

build() {
cd "$pkgname-$pkgver"
./configure --prefix=/
make
}

package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
20 changes: 20 additions & 0 deletions libcue/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pkgname=libcue
pkgver=1.4.0
pkgrel=1
pkgdesc=".cue parsing library"
arch=('i686' 'x86_64')
url="http://libcue.sourceforge.net"
source=("http://downloads.sourceforge.net/project/libcue/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
md5sums=('SKIP')
options=('strip' 'debug')

build() {
cd "$pkgname-$pkgver"
./configure --prefix=/
make
}

package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}

0 comments on commit 1679808

Please sign in to comment.