Packaging and CI attempt 1
This commit is contained in:
parent
e266008e11
commit
d8644e5d70
7 changed files with 91 additions and 8 deletions
24
packaging/Archlinux/PKGBUILD
Normal file
24
packaging/Archlinux/PKGBUILD
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Maintainer: Yury Gubich <blue@macaw.me>
|
||||
pkgname=mlc
|
||||
pkgver=1.3.1
|
||||
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 .
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue