#Maintainer: Shador pkgname=ruby-gettext pkgver=1.10.0 pkgrel=2ab arch=i486 source=("http://rubyforge.org/frs/download.php/57280/ruby-gettext-package-$pkgver.tar.gz") sourcetemplate="http://gaia.homelinux.org/salix/packages/$pkgname/$pkgver/" docs=("readme" "news" "copying" "changelog") url='http://www.yotabanana.com/hiki/ruby-gettext.html' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (localization library and tools for Ruby)" "Ruby-GetText-Package is a Localization(L10n) Library and Tools which" "is modeled after GNU gettext package." "The library converts the messages to localized messages properly using" "client-side locale information." "And the tools for developers support to create, use, and modify" "localized message files(message catalogs) easily." ) build() { cd $startdir/src/ruby-gettext-package-$pkgver/ ruby setup.rb config || return 1 ruby setup.rb setup || return 1 ruby setup.rb install --prefix=$startdir/pkg # this shouldn't be needed anymore ( cd $startdir/pkg find . -perm 664 -exec chmod 644 {} \; find . -perm 600 -exec chmod 644 {} \; find . -perm 444 -exec chmod 644 {} \; find . -perm 400 -exec chmod 644 {} \; find . -perm 440 -exec chmod 644 {} \; find . -perm 777 -exec chmod 755 {} \; find . -perm 775 -exec chmod 755 {} \; find . -perm 511 -exec chmod 755 {} \; find . -perm 711 -exec chmod 755 {} \; find . -perm 555 -exec chmod 755 {} \; ) }