wok-next view avatar-factory/receipt @ rev 20871
fossil: up (2.6) / fix build; sqlite3: up (3.24.0), drop providing "sqlite[^3]*"; add staticperl
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 22:39:08 2018 +0300 (2018-07-02) |
parents | 685f9eb83991 |
children | 0cbe4b1f2230 |
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"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
15 compile_rules() {
16 mkdir -p $install/usr/bin $install/usr/share/applications
18 sed -i 's|/usr/local|/usr|g' avatar-factory
19 cp avatar-factory $install/usr/bin
21 cp -r Avatar-Factory $install/usr/share/avatar-factory
23 sed -i 's|/usr/local|/usr|' avatar-factory.desktop
24 cp avatar-factory.desktop $install/usr/share/applications
26 # fix permissions
27 find $install -type d -exec chmod 755 {} \;
28 find $install -type f -exec chmod 644 {} \;
29 for file in $(find $install -type f); do
30 [ $(head -n1 $file | grep '#!/bin/bash') ] && chmod 755 $file
31 done
32 chown -R root.root $install
33 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="bash findutils imagemagick sed zenity-gtk2"
38 }