diff --git a/srcpkgs/makemkv/template b/srcpkgs/makemkv/template new file mode 100644 index 0000000000..c696d69f4c --- /dev/null +++ b/srcpkgs/makemkv/template @@ -0,0 +1,43 @@ +# Template file for 'makemkv' +pkgname=makemkv +version=1.16.7 +revision=1 +archs="x86_64" +wrksrc="${pkgname}-oss-${version}" +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="openssl-devel qt5-devel ffmpeg-devel" +short_desc="Blu-ray and DVD ripper" +maintainer="Jan Christian Grünhage " +license="custom: Proprietary License" +homepage="https://www.makemkv.com/" +distfiles="https://www.makemkv.com/download/makemkv-bin-${version}.tar.gz + https://www.makemkv.com/download/makemkv-oss-${version}.tar.gz" +checksum="623b185b6326cc366a38c75896a134759dfdf50abc849450f4109588d7b12c7b + 4cbd0f44ffe90e0d7aaac6d88bd458c83d1e80d0dac6e029991f3a86247f46af" +nopie_files="/usr/bin/makemkvcon" +repository=nonfree + +do_configure() { + ./configure +} + +do_build() { + make ${makejobs} + cd ../${pkgname}-bin-${version} + mkdir -p tmp + echo "accepted" > tmp/eula_accepted + make ${makejobs} + cd ../${pkgname}-oss-${version} +} + +do_install() { + make DESTDIR=${DESTDIR} install + cd ../${pkgname}-bin-${version} + make DESTDIR=${DESTDIR} install + cd ../${pkgname}-oss-${version} +} + +post_install() { + vlicense License.txt +} diff --git a/srcpkgs/makemkv/update b/srcpkgs/makemkv/update new file mode 100644 index 0000000000..3cb6b91cc3 --- /dev/null +++ b/srcpkgs/makemkv/update @@ -0,0 +1,2 @@ +site="https://www.makemkv.com/download/" +pattern="MakeMKV v\K[0-9]+.[0-9]+.[0-9]+(?= \([0-9]+.[0-9]+.[0-9]+ \))"