mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
788 B
Bash
31 lines
788 B
Bash
#
|
|
# maintainer (i686): Fabien Valthier <hcoohb[at]gmail[dog]com>
|
|
# maintainer (x86_64): <[at][dot]>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=mp3gain
|
|
pkgver=1.5.2
|
|
pkgrel=1
|
|
pkgdesc="Lossless mp3 normalizer with statistical analysis "
|
|
arch=('i686' 'x86_64')
|
|
url="http://mp3gain.sourceforge.net"
|
|
license=("GPL")
|
|
depends=('glibc')
|
|
categories=('multimedia')
|
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-${pkgver//./_}-src.zip
|
|
build-fix.patch)
|
|
md5sums=('d888563538ec863eeea8afc8207b2739'
|
|
'20680cbada13ba941b0532ff94e583e1')
|
|
|
|
build() {
|
|
cd $srcdir
|
|
|
|
mkdir -p $pkgdir/usr/bin
|
|
patch -p0 Makefile <$srcdir/build-fix.patch
|
|
|
|
make OSTYPE=linux
|
|
make OSTYPE=linux INSTALL_PATH=$pkgdir/usr/bin install
|
|
}
|