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

ardour, gdal, icu, js, jsoncpp, libvpx, llvm, mesa, minetest, opencv, qt5, scilab, webkit2gtk, webkitgtk, xalan-c: remove std.patch, use `fix math`.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 16:15:19 2018 +0200 (2018-03-21)
parents 2a5cc8208d36
children 86b5d202495a
line source
1 # SliTaz package receipt.
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, photo albums, movie files, and more..."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="http://yuzem.blogspot.com/p/avatar-factory.html?m=1"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
13 DEPENDS="bash findutils imagemagick sed zenity-gtk2"
14 BUILD_DEPENDS="wget"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/bin $fs/usr/share/applications
20 sed -i 's|/usr/local|/usr|g' $src/avatar-factory
21 cp -a $src/avatar-factory $fs/usr/bin
22 cp -a $src/Avatar-Factory $fs/usr/share/avatar-factory
23 sed -i 's|/usr/local|/usr|' $src/avatar-factory.desktop
24 cp -a $src/avatar-factory.desktop $fs/usr/share/applications
26 # fix permissions
27 find $fs -type d -exec chmod 755 {} \;
28 find $fs -type f -exec chmod 644 {} \;
29 for file in $(find $fs -type f); do
30 [ $(head -n1 $file | grep '#!/bin/bash') ] && chmod 755 $file
31 done
32 chown -R root.root $fs # was pankso.100 ... why ?
33 }