void-packages/templates/cracklib-words/template
Juan RP 84222395b8 Provide some vars for use in template's targets.
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version),
SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR
(XBPS_TEMPLATESDIR/pkgname/files).

This simplifies packages that used them.

--HG--
extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
2009-03-11 06:31:56 +01:00

20 lines
640 B
Text

# Template file for 'cracklib-words-en'
pkgname=cracklib-words
words_date=20080507
version=2.8.13-${words_date}
wrksrc=$pkgname
distfiles="$SOURCEFORGE_SITE/cracklib/$pkgname-${words_date}.gz"
build_style=custom-install
short_desc="English Dictionary words for cracklib"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=e0c7f452c1fd80d551ae4a7d1afa7fa19cbf47c2d6d5dafc1255c1e76502cb71
long_desc="
This package includes the words of the english dictionary for the Password
Checking Library cracklib."
do_install()
{
install -d ${DESTDIR}/usr/share/dict
install $wrksrc/$pkgname-${words_date} \
${DESTDIR}/usr/share/dict/${pkgname}
}