wok annotate avatar-factory/receipt @ rev 15134
yad, yad-gtk3: up 0.22.1 (yad-gtk3 may break); iso-codes up 3.45
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 15 11:23:37 2013 +0300 (2013-08-15) |
parents | 8d1f3057da51 |
children | 2a5cc8208d36 |
rev | line source |
---|---|
al@14068 | 1 # SliTaz package receipt. |
al@14068 | 2 |
al@14068 | 3 PACKAGE="avatar-factory" |
al@14068 | 4 VERSION="0.8" |
al@14068 | 5 CATEGORY="utilities" |
al@14068 | 6 SHORT_DESC="A bash script that creates eye candy shortcuts for music albums, photo albums, movie files, and more..." |
al@14068 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14068 | 8 WEB_SITE="http://yuzem.blogspot.com/p/avatar-factory.html?m=1" |
al@14068 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@14068 | 10 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL" |
al@14068 | 11 |
al@14068 | 12 DEPENDS="bash findutils imagemagick sed zenity" |
al@14068 | 13 BUILD_DEPENDS="wget" |
al@14068 | 14 |
al@14068 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14068 | 16 genpkg_rules() |
al@14068 | 17 { |
al@14068 | 18 mkdir -p $fs/usr/bin $fs/usr/share/applications |
al@14068 | 19 sed -i 's|/usr/local|/usr|g' $src/avatar-factory |
al@14068 | 20 cp -a $src/avatar-factory $fs/usr/bin |
al@14068 | 21 cp -a $src/Avatar-Factory $fs/usr/share/avatar-factory |
al@14068 | 22 sed -i 's|/usr/local|/usr|' $src/avatar-factory.desktop |
al@14068 | 23 cp -a $src/avatar-factory.desktop $fs/usr/share/applications |
al@14068 | 24 |
al@14068 | 25 # fix permissions |
al@14068 | 26 find $fs -type d -exec chmod 755 {} \; |
al@14068 | 27 find $fs -type f -exec chmod 644 {} \; |
al@14068 | 28 for file in $(find $fs -type f); do |
al@14068 | 29 [ $(head -n1 $file | grep '#!/bin/bash') ] && chmod 755 $file |
al@14068 | 30 done |
pascal@14070 | 31 chown -R root.root $fs # was pankso.100 ... why ? |
al@14068 | 32 } |