1 # Contributor: bender02 at archlinux dot us
6 pkgdesc="A Character Normalization Tool (for unicode)"
7 url="http://www.w3.org/International/charlint/"
11 source=('charlint.pl::http://dev.w3.org/cvsweb/~checkout~/charlint/charlint.pl?rev=${_cvs_revision}&content-type=text/plain&only_with_tag=HEAD' \
12 'ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt' \
14 md5sums=('5e23227ba5b1ad7983679f0aec95ac79'
15 'f5338142b5dd42c577fe7a6daed1cf4b'
16 'dec58503d629e4739bb8cd0e11ee020d')
20 # change the default location (cwd) of UnicodeData file
21 sed -i 's|ReadCharacterDataFile("UnicodeData\.txt");|ReadCharacterDataFile("/usr/share/charlint/UnicodeData\.txt");|' charlint.pl
26 install -m755 -D charlint.pl $pkgdir/usr/bin/charlint.pl
27 install -m644 -D LICENSE $pkgdir/usr/share/licenses/charlint/LICENSE
28 install -m644 -D UnicodeData.txt $pkgdir/usr/share/charlint/UnicodeData.txt