Package Details: fortune-mod-bashfr 10-5

Git Clone URL: (read-only)
Package Base: fortune-mod-bashfr
Description: ( fortune file
Upstream URL:
Licenses: custom
Groups: fortune-mods
Submitter: None
Maintainer: sputnick
Last Packager: sputnick
Votes: 27
Popularity: 0.000004
First Submitted: 2008-04-06 17:00
Last Updated: 2015-06-18 21:40

Latest Comments

sputnick commented on 2016-12-24 13:53

@FredBezies :

$ LANG=C makepkg -si
==> ERROR: install should not be an array

FredBezies commented on 2016-12-04 16:36

install='fortune-mod-bashfr.install' -> install=('fortune-mod-bashfr.install')

license="custom" -> license=("custom")

sputnick commented on 2015-02-22 19:05

Using a workaround now, enjoy, bashfr is back.

sputnick commented on 2015-01-04 23:30

Sorry, no cigar :/

sputnick commented on 2014-10-23 18:25

The full 'quotes' are down for the moment, I'm in touch with DTC crew for a workaround: this page doesn't exists anymore...

sputnick commented on 2013-10-15 19:43

@Scimmia: if you find something wrong, I will upgrade the PKGBUILD. But @this point, it's quite vague.

Scimmia commented on 2013-10-13 18:03

Installing directly do /usr/share in the build function? So you have to build this as root?

So many things wrong with this.

milouse commented on 2013-04-22 14:31

De rien :)

milouse commented on 2013-04-22 14:30

De rien :)

sputnick commented on 2013-04-22 11:40

@milouse, thanks, updated DONE.

milouse commented on 2013-04-22 07:21


There was some changes in the PKGBUILD guideline which make the install of this package to fail (no package() method...). So I purpose this little enhancement of your PKGBUILD :
- the cron install is now wrapped in a package method
- the fortune files themselves are now installed in the /usr/share/fortune/fr subdirectory as other french related fortune files.

# Contributor : sputnick <gilles *DOT* quenot *AT* gmail *DOT *com>
pkgdesc=" ( fortune file"

build() {
cd ${srcdir}

#!/usr/bin/env bash
# ------------------------------------------------------------------
# made by sputnick in da FreAkY lApPy lAb (c) 2009-2013
# gilles.quenot <AT> gmail <DOT> com
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
# (see
# ------------------------------------------------------------------
# ,,_
# o" )@
# ''''
# ------------------------------------------------------------------
# vim:ts=4:sw=4

# Script d'update des fortunes DTC/bashfr du paquet fortune-mod-bashfr

export PATH=/usr/bin:/bin:/usr/sbin:$PATH

cd /tmp
if ! wget &> /dev/null -N; then
echo >&2 "Le téléchargement de a échoué, merci de passer le paquet fortune-mod-bashfr en perimé si le problème persiste."
exit 1

# On efface les URLs des quotes
if ! sed -e 's|^-- http.*$||g' fortunes > bashfr; then
echo >&2 "Sed a échoué, merci de passer le paquet fortune-mod-bashfr en perimé si le problème persiste."
exit 1

if ! strfile -s -r bashfr bashfr.dat; then
echo >&2 "Attention, extra/fortune-mod semble avoir été désinstallé, $0 a donc échoué."
exit 1

install -D -m644 bashfr /usr/share/fortune/fr/bashfr
install -D -m644 bashfr.dat /usr/share/fortune/fr/bashfr.dat

\rm -f fortunes bashfr{,.dat}

package() {
install -D -m755 ${srcdir}/cron ${pkgdir}/etc/cron.daily/bashfr