blob: 3f7f455374012b0c3a1e7cfba1515d8997c4a95d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
# Contributor: garion < garion @ mailoo.org >
pkgname=mkvalidator
pkgver=0.6.0
pkgrel=1
pkgdesc="Validator for MKV files"
arch=('x86_64')
url='https://www.matroska.org/downloads/mkvalidator.html'
license=('BSD')
depends=('glibc')
makedepends=('cmake')
source=("https://sourceforge.net/projects/matroska/files/mkvalidator/mkvalidator-${pkgver}.tar.bz2")
sha256sums=('f9eaa2138fade7103e6df999425291d2947c5355294239874041471e3aa243f0')
build() {
cmake -S "mkvalidator-${pkgver}" -B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
install -Dm755 build/mkvalidator/mkvalidator "${pkgdir}/usr/bin/mkvalidator"
install -Dm644 "mkvalidator-${pkgver}/ReadMe.txt" "${pkgdir}/usr/share/licenses/${pkgname}/License.txt"
}
|