1
0
forked from blue/mlc
mlc/packaging/Archlinux/PKGBUILD

25 lines
672 B
Bash
Raw Normal View History

2023-10-10 16:24:46 +00:00
# Maintainer: Yury Gubich <blue@macaw.me>
pkgname=mlc
2023-10-13 01:00:16 +00:00
pkgver=1.3.3
2023-10-10 16:24:46 +00:00
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 .
}