blob: c0054248e9387c6b30ef26d09edc6d7712e85cc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Michal Wojdyla < micwoj9292 at gmail dot com >
# Contributor: Javier TiĆ” <javier.tia _at_ gmail.com>
pkgname=fortune-mod-es
pkgver=1.36
pkgrel=1
pkgdesc="Fortune Cookies in Spanish, from the Debian project"
url="https://packages.debian.org/source/sid/fortunes-es"
depends=('fortune-mod')
makedepends=('recode')
groups=('fortune-mods')
source=(http://ftp.es.debian.org/debian/pool/main/f/fortunes-es/fortunes-es_$pkgver.tar.xz)
arch=('any')
license=('custom')
md5sums=('3731218d800e18022349df6a3ef66cd4')
package() {
cd $srcdir/fortunes-es-$pkgver
make COOKIEDIR="$pkgdir/usr/share/fortune/" STRFILE="/usr/bin/strfile" install-utf8 || return 1
# Remove *.u8 files and strip ".fortunes" from filenames
cd $pkgdir/usr/share/fortune/
rm *.u8 off/*.u8
for f in *.fortunes* off/*.fortunes*; do
mv $f ${f/.fortunes}
done
cd $srcdir/fortunes-es-$pkgver
install -D -m644 debian/copyright $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1
}
|