Re: [ITP] words - Dictionary file

2016-07-12 Thread David Stacey

On 12/07/2016 23:22, David Stacey wrote:
My good deed for the day. See 
https://cygwin.com/ml/cygwin/2016-07/msg00129.html


Based heavily on the Fedora package of the same name.


Schtoopid Thunderbird. Let's try those links again.

# noarch:
BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/noarch/release
wget --no-check-certificate --no-host-directories --force-directories 
--cut-dirs=5 \

${BASEURL}/words/setup.hint \
${BASEURL}/words/words-3.0-1-src.tar.xz \
${BASEURL}/words/words-3.0-1.tar.xz

Dave.




[ITP] words - Dictionary file

2016-07-12 Thread David Stacey
My good deed for the day. See 
https://cygwin.com/ml/cygwin/2016-07/msg00129.html


Based heavily on the Fedora package of the same name.

# noarch:
BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/noarch/release 

wget --no-check-certificate --no-host-directories --force-directories 
--cut-dirs=5 \

${BASEURL}/words/setup.hint \
${BASEURL}/words/words-3.0-1-src.tar.xz \
${BASEURL}/words/words-3.0-1.tar.xz


Dave.




Re: ITA: GNU miscfiles

2016-07-12 Thread Warren Young
On Jul 12, 2016, at 11:06 AM, Warren Young  wrote:
> 
> NAME=miscfiles
> VERSION=1.5
> RELEASE=1

Late addition: ARCH=noarch


ITA: GNU miscfiles

2016-07-12 Thread Warren Young
Per https://cygwin.com/ml/cygwin/2016-07/msg00160.html

…I would like to adopt the GNU miscfiles package.  I have constructed the 
following cygport file, which seems to do the trick:


NAME=miscfiles
VERSION=1.5
RELEASE=1

SUMMARY="Miscellaneous data files"
HOMEPAGE="https://www.gnu.org/software/miscfiles/;
SRC_URI="https://ftp.gnu.org/gnu/${PN}/${PN}-${PV}.tar.gz;

CATEGORY=Misc
DESCRIPTION="This is the GNU Miscfiles package, which is a collection
of files not of crucial importance for system administration or
operation, but which have come to be common on various systems over the
years. It includes data files for country codes, airport codes, currency
information, and so on."

CYGCONF_ARGS="--datarootdir=/usr/share/misc"

src_install() {
cd ${B}
cygmake -j11 DESTDIR=${D} install

dodir /usr/share/dict
dosym ../misc/web2a /usr/share/dict/words

dodoc ${D}/usr/share/misc/GNU-manifesto
rm ${D}/usr/share/misc/GNU-manifesto
}


The last line in my src_install() override seems heavy-handed.  I would have 
thought that dodoc would move the file into the doc directory from its default 
install location for me.

Can I avoid overriding src_install() entirely?  All I want to do here is move 
the GNU-manifesto file to the doc dir and create a /usr/share/dict/words 
symlink.