Modification to PKGMOD : md5 change and fix build and package methods.
# Maintainer: flow
pkgname=fortune-mod-linuxfr
pkgver=20121206
pkgrel=1
pkgdesc="linuxfr fortune cookie file in french."
arch=('any')
license=('custom')
depends=('fortune-mod')
#source="fortunes.txt"
source="http://sam.linuxfr.org/fortunes.txt"
url="http://sam.linuxfr.org/"
md5sums=('09B36E08809B45FDF3936584AAE57242')
build() {
cd ${srcdir}
#iconv -f iso-8859-1 -t utf8 fortunes.txt --output linuxfr
mv fortunes.txt linuxfr
strfile linuxfr linuxfr.dat
}
package() {
install -d ${pkgdir}/usr/share/fortune/fr
install -m644 ${srcdir}/linuxfr* ${pkgdir}/usr/share/fortune/fr
}
Search Criteria
Package Details: fortune-mod-linuxfr 20130420-1
Package Actions
| Package Base: | fortune-mod-linuxfr |
|---|---|
| Description: | linuxfr fortune cookie file in french. |
| Upstream URL: | http://sam.linuxfr.org/ |
| Category: | games |
| Licenses: | |
| Submitter: | flow |
| Maintainer: | flow |
| Last Packager: | None |
| Votes: | 4 |
| First Submitted: | 2010-10-25 16:16 |
| Last Updated: | 2013-04-20 14:21 |
Latest Comments
Comment by milouse
Comment by caemir
MD5SUM modification to → 3c56a6ddbb6c7c38be6f398b6580b336
Comment by duthils
The fortunes.txt file is already in UTF-8, converting it once more from ISO to UTF-8 makes the french characters display badly.
Could you remove the iconv command ?