wok-next view avatar-factory/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents 0cbe4b1f2230
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="avatar-factory"
4 VERSION="0.8"
5 CATEGORY="utilities"
6 SHORT_DESC="A bash script that creates eye candy shortcuts for music albums, \
7 photo albums, movie files, and more..."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="PublicDomain"
10 WEB_SITE="http://yuzem.blogspot.com/p/avatar-factory.html?m=1"
11 HOST_ARCH="any"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
16 DEPENDS="bash findutils imagemagick sed zenity-gtk2"
18 compile_rules() {
19 mkdir -p $install/usr/bin $install/usr/share/applications
21 sed -i 's|/usr/local|/usr|g' avatar-factory
22 cp avatar-factory $install/usr/bin
24 cp -r Avatar-Factory $install/usr/share/avatar-factory
26 sed -i 's|/usr/local|/usr|' avatar-factory.desktop
27 cp avatar-factory.desktop $install/usr/share/applications
29 # fix permissions
30 find $install -type d -exec chmod 755 {} \;
31 find $install -type f -exec chmod 644 {} \;
32 for file in $(find $install -type f); do
33 [ $(head -n1 $file | grep '#!/bin/bash') ] && chmod 755 $file
34 done
35 chown -R root.root $install
37 # broken symlink to /home/azd/Workshop/Programming/imdb-thumbnailer/imdb-thumbnailer
38 rm $install/usr/share/avatar-factory/thumbnailer
39 }