Commit 20440db0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack: add ArmorPaint support

parent b7911f48
......@@ -5,3 +5,5 @@ cascadeur cascadeur-linux.tgz
epsonscan2-non-free-plugin epsonscan2-bundle-*.tar.gz
hplip-plugin hplip-*-plugin
sublime-text sublime_text_build_*
ArmorPaint ArmorPaint_*_linux64.zip
ArmorPaintVKRT ArmorPaintVKRT_*_linux64.zip
#!/bin/sh
TAR="$1"
RETURNTARNAME="$2"
#VERSION="$3"
. $(dirname $0)/common.sh
# ArmorPaint_10alpha_linux64.zip
erc unpack $TAR || fatal
mkdir -p opt/$PRODUCT
cp -a ArmorPaint*/* opt/$PRODUCT/
VERSION=$(basename $TAR | sed -e 's/_linux64.*//' -e 's/.*_//')
PKGNAME=$PRODUCT-$VERSION
erc pack $PKGNAME.tar opt || fatal
return_tar $PKGNAME.tar
ArmorPaint.sh
\ No newline at end of file
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
subst "s|^Group:.*|Group: Graphics|" $SPEC
subst "s|^License: unknown$|License: zlib/libpng|" $SPEC
subst "s|^URL:.*|URL: https://armorpaint.org|" $SPEC
subst "s|^Summary:.*|Summary: 3D PBR texture painting software|" $SPEC
cat <<EOF | create_file /usr/share/applications/$PRODUCT.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=$PRODUCT
Comment=3D PBR texture painting software
Exec=$PRODUCT %f
Icon=$PRODUCT
Terminal=false
StartupNotify=true
Categories=Engineering;
EOF
add_bin_exec_command
#add_bin_link_command $PRODUCTCUR $PRODUCT
add_libs_requires
ArmorPaint.sh
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment