25 lines
674 B
Bash
25 lines
674 B
Bash
# Maintainer: Yury Gubich <blue@macaw.me>
|
|
pkgname=mlc
|
|
pkgver=1.3.212
|
|
pkgrel=1
|
|
pkgdesc="Media Library Compiler: rips your media library to a lossy compilation"
|
|
arch=('i686' 'x86_64')
|
|
url="https://git.macaw.me/blue/mlc"
|
|
license=('GPL3')
|
|
depends=('flac' 'lame' 'libjpeg' 'taglib')
|
|
makedepends=('cmake>=3.5' 'gcc>=7.0')
|
|
optdepends=()
|
|
|
|
source=("$pkgname-$pkgver.tar.gz::https://git.macaw.me/blue/$pkgname/archive/$pkgver.tar.gz")
|
|
sha256sums=('SKIP')
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
cmake . -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release
|
|
cmake --build .
|
|
}
|
|
package() {
|
|
cd "$srcdir/$pkgname"
|
|
DESTDIR="$pkgdir/" cmake --install .
|
|
}
|
|
|