wok-6.x view squirrelmail-ar/receipt @ rev 22453
Update some $web_site for repology.org
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 26 11:54:32 2019 +0100 (2019-12-26) |
parents | 9e01bc6321ea |
children | cb67b4f8be05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="squirrelmail-ar"
4 VERSION="1.4.18-20090526"
5 CATEGORY="network"
6 SHORT_DESC="Locale ar for squirrelmail."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
10 WEB_SITE="http://www.squirrelmail.org/"
12 DEPENDS="squirrelmail"
13 WANTED="squirrelmail-locales"
15 HOST_ARCH="any"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/share/squirrelmail/locale
21 cp -a $src/locale/${PACKAGE#squirrelmail-} \
22 $fs/usr/share/squirrelmail/locale
23 }
25 # Pre and post install commands for Tazpkg.
26 post_install()
27 {
28 sed -i "s/^\$squirrelmail_default_language = .*/\$squirrelmail_default_language = '${PACKAGE#squirrelmail-}';/" "$1/etc/squirrelmail/config.php"
29 }