mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# $Id: PKGBUILD 36326 2009-04-21 00:40:52Z eric $
|
|
# Contributor: Eric Johnson <eric@coding-zone.com>
|
|
|
|
pkgname=words
|
|
pkgver=2.0
|
|
pkgrel=1
|
|
pkgdesc="A collection of International 'words' files for /usr/share/dict"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.archlinux.org"
|
|
license=('GPL' 'GPL2' 'custom')
|
|
depends=('util-linux-ng')
|
|
install=words.install
|
|
source=(ftp://ftp.archlinux.org/other/words/$pkgname-$pkgver.tar.bz2)
|
|
md5sums=('cc73f9dd1fb5fb358badcfc23f7963bf')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
install -d $pkgdir/usr/share/dict
|
|
install -m644 dict/* $pkgdir/usr/share/dict || return 1
|
|
|
|
ln -s catala $pkgdir/usr/share/dict/catalan
|
|
ln -s british-english $pkgdir/usr/share/dict/british
|
|
ln -s american-english $pkgdir/usr/share/dict/usa
|
|
ln -s ogerman $pkgdir/usr/share/dict/german
|
|
|
|
# create empty place holder - this will be replaced with a
|
|
# symlink pointing to the locale's lang during install
|
|
#
|
|
touch $pkgdir/usr/share/dict/words
|
|
|
|
# Licenses:
|
|
cd doc
|
|
for i in * ; do
|
|
install -D -m644 $i/copyright ${pkgdir}/usr/share/licenses/${pkgname}/$i.copyright
|
|
done
|
|
}
|