contrib/moc/Pkgfile

31 lines
643 B
Plaintext
Raw Normal View History

2008-08-02 18:13:18 +02:00
# Description: Console audio player.
# URL: http://moc.daper.net/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2016-06-28 02:58:22 +02:00
# Depends on: curl libid3tag libmad libsndfile popt
2019-11-21 02:41:31 +01:00
# Optional: ffmpeg
2008-08-02 18:13:18 +02:00
name=moc
2018-03-29 14:32:14 +02:00
version=2.5.2
release=3
2019-11-21 02:41:31 +01:00
source=(http://ftp.daper.net/pub/soft/moc/stable/$name-$version.tar.bz2
moc-ffmpeg4.patch
moc-https.patch)
2018-03-29 14:32:14 +02:00
2008-08-02 18:13:18 +02:00
build() {
cd $name-$version
2019-11-21 02:41:31 +01:00
patch -p0 -i $SRC/moc-ffmpeg4.patch
patch -p0 -i $SRC/moc-https.patch
2019-11-21 02:41:31 +01:00
2008-08-02 18:13:18 +02:00
./configure \
--prefix=/usr \
--disable-nls \
--disable-debug
make
make DESTDIR=$PKG install
install -D -m 0644 -t $PKG/usr/share/moc/ config.example keymap.example
rm -rf $PKG/usr/share/doc
}