Files
main/multimedia/misc/rav1e/yedek-actions.py
T
2021-11-04 11:57:08 +03:00

30 lines
799 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
import os
def build():
shelltools.system("cargo fetch \
--locked \
--manifest-path Cargo.toml \
cargo build \
--release \
--frozen \
--manifest-path Cargo.toml")
#autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "COPYING", "NEWS", "README")