Update talimat

This commit is contained in:
MEBis 2018-02-24 22:17:41 +03:00 committed by GitHub
parent 3a41470749
commit 48feebb69e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 17 deletions

View File

@ -4,32 +4,22 @@
# Gerekler: qt5 libxkbcommon hicolor-icon-theme icu ffmpeg desktop-file-utils # Gerekler: qt5 libxkbcommon hicolor-icon-theme icu ffmpeg desktop-file-utils
isim=makemkv isim=makemkv
surum=1.9.9 surum=1.12.0
devir=3 devir=3
kaynak=(http://www.makemkv.com/download/${isim}-bin-${surum}.tar.gz kaynak=(http://www.makemkv.com/download/${isim}-bin-${surum}.tar.gz
http://www.makemkv.com/download/${isim}-oss-${surum}.tar.gz http://www.makemkv.com/download/${isim}-oss-${surum}.tar.gz)
makemkv.1
makemkvcon.1
mmdtsdec.1)
derle() { derle() {
cd "${SRC}/${isim}-oss-${surum}" cd "${SRC}/${isim}-oss-${surum}"
./configure --prefix=/usr CC=gcc CXX=g++ ./configure --prefix=/usr
make make
make DESTDIR=\""${PKG}"\" install
make DESTDIR="${PKG}" install
cd "${SRC}/${isim}-bin-${surum}" cd "${SRC}/${isim}-bin-${surum}"
install -d "${PKG}/usr/bin/" install -d tmp
install -t "${pkgdir}/usr/bin/" bin/amd64/makemkvcon echo accepted > tmp/eula_accepted
install -d "${PKG}/usr/share/MakeMKV" make DESTDIR=\""${PKG}"\" install
install -m 644 -t "${PKG}/usr/share/MakeMKV" src/share/makemkv_*.mo.gz src/share/*.mmcp.xml
install -Dm 644 src/eula_en_linux.txt "${PKG}/usr/share/licenses/${isim}/eula_en_linux.txt" install -Dm 644 src/eula_en_linux.txt "${PKG}/usr/share/licenses/${isim}/eula_en_linux.txt"
cd "${SRC}/"
install -d "${PKG}/usr/share/man/man1/"
install -m 644 -t "${PKG}/usr/share/man/man1/" makemkv.1 makemkvcon.1 mmdtsdec.1
} }