diff options
author | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
commit | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch) | |
tree | 278bbf05c72536a30e701eebbd3546ba137543e7 /skip/unrar/unrar.xibuild | |
parent | f6332a43c35387c4a2dea1746be5fd092890ae0e (diff) |
added python deps for libvirt
Diffstat (limited to 'skip/unrar/unrar.xibuild')
-rw-r--r-- | skip/unrar/unrar.xibuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/skip/unrar/unrar.xibuild b/skip/unrar/unrar.xibuild new file mode 100644 index 0000000..2d2500a --- /dev/null +++ b/skip/unrar/unrar.xibuild @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME="unrar" +DESC="RAR uncompression program" + +MAKEDEPS="make " +DEPS="musl " + +PKG_VER=6.0.7 +SOURCE="https://www.rarlab.com/rar/unrarsrc-$PKG_VER.tar.gz" +ADDITIONAL="makefile.patch" + +prepare () { + apply_patches + touch unrar +} + +build () { + make CXX="${CXX:-g++}" STRIP=: -f makefile +} + +package () { + make PREFIX=/usr DESTDIR=$PKG_DEST install + + install -Dm644 license.txt \ + "$PKG_DEST"/usr/share/licenses/unrar/license.txt +} |