x265: cleaner build

This commit is contained in:
Dylan Araps 2019-11-13 02:33:07 +00:00
parent 71f377783b
commit b322506cbb
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -1,9 +1,10 @@
#!/bin/sh -e
cmake \
export DESTDIR="$1"
cmake source \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
./source
make
make DESTDIR="$1" install
cmake --build .
cmake --install .