diff options
author | aksr | 2022-11-06 22:22:14 +0100 |
---|---|---|
committer | aksr | 2022-11-06 22:22:14 +0100 |
commit | 2d5b37db3cbb8eb74f1044f7a80d520873d41a0f (patch) | |
tree | 3bdb4bc2f6a5413d4132ac0f3ae1b1cf9b9588f1 | |
parent | 10af7972b02a9f9a9bd1139b5e930065cf21e1ea (diff) | |
download | aur-2d5b37db3cbb8eb74f1044f7a80d520873d41a0f.tar.gz |
Add license file and clean up a bit.
-rw-r--r-- | LICENCE | 5 | ||||
-rw-r--r-- | PKGBUILD | 58 |
2 files changed, 30 insertions, 33 deletions
diff --git a/LICENCE b/LICENCE new file mode 100644 index 000000000000..7d0c1d1d1110 --- /dev/null +++ b/LICENCE @@ -0,0 +1,5 @@ +Copyright (C) 1987,1990 Silvio Levy and Donald E. Knuth + +Permission is granted to make and distribute verbatim copies of this document provided that the copyright notice and this permission notice are preserved on all copies. + +Permission is granted to copy and distribute modified versions of this document under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. @@ -3,29 +3,20 @@ pkgname=cwebx _pkgname=cweb pkgver=3.52 _pkgver=x3.52 -pkgrel=1 -epoch= +pkgrel=2 pkgdesc="The CWEBx system for Structured Software Documentation (Literate Programming) in C." arch=(any) url="http://wwwmathlabo.univ-poitiers.fr/~maavl/CWEBx/" -license=('unknown') -groups=() +license=(MIT) depends=('texlive-core') -makedepends=() -checkdepends=() -optdepends=() -provides=() -conflicts=() -replaces=() -backup=() -options=() install=cweb.install -changelog= -source=("http://wwwmathlabo.univ-poitiers.fr/~maavl/CWEBx/$_pkgname-$_pkgver.tgz") -noextract=() -md5sums=('30fadade903fd110eb4478962ab21016') -sha1sums=('5d087aa6413bdce69f1cf16c797779ace5c3e086') -sha256sums=('92e57b4414388743bd0b91d81c91bea4645a8b04c8f744754b0855e90934186b') +source=("http://wwwmathlabo.univ-poitiers.fr/~maavl/CWEBx/$_pkgname-$_pkgver.tgz" LICENCE) +md5sums=('30fadade903fd110eb4478962ab21016' + '722d196a53e0c3e6616aba9003aa181f') +sha1sums=('5d087aa6413bdce69f1cf16c797779ace5c3e086' + 'f995c1aa3d0ed71cf7b2dc869de4921867d1db55') +sha256sums=('92e57b4414388743bd0b91d81c91bea4645a8b04c8f744754b0855e90934186b' + '4aa9a73b3aa7e566651e7110c4a301e4294b78dfa7cac07347db18c77652e96b') build() { cd "$srcdir/$_pkgname-$_pkgver" @@ -40,19 +31,20 @@ check() { package() { cd "$srcdir/$_pkgname-$_pkgver" - mkdir -p $pkgdir/usr/{share/doc/$pkgname,share/man/man1,share/texmf/tex/cwebx} - install -D -m755 cweavex $pkgdir/usr/bin/cweavex - install -D -m755 ctanglex $pkgdir/usr/bin/ctanglex - install -D -m755 ctanglex $pkgdir/usr/bin/ctanglex - install -D -m644 README $pkgdir/usr/share/doc/$pkgname/README - install -D -m644 cweave.dvi $pkgdir/usr/share/doc/$pkgname/cweave.dvi - install -D -m644 ctangle.dvi $pkgdir/usr/share/doc/$pkgname/ctangle.dvi - install -D -m644 common.dvi $pkgdir/usr/share/doc/$pkgname/common.dvi - install -D -m644 manual.dvi $pkgdir/usr/share/doc/$pkgname/manual.dvi - install -D -m644 man1/cweb.1 $pkgdir/usr/share/man/man1/cwebx.1 - install -D -m644 cwebcmac.tex $pkgdir/usr/share/texmf/tex/cwebx/cwebcmac.tex - install -D -m644 cwebhmac.tex $pkgdir/usr/share/texmf/tex/cwebx/cwebhmac.tex - install -D -m644 cwebxmac.tex $pkgdir/usr/share/texmf/tex/cwebx/cwebxmac.tex - cp -r --no-preserve=ownership,mode examples $pkgdir/usr/share/doc/$pkgname/examples + mkdir -p $pkgdir/usr/{share/doc/$pkgname,share/man/man1,share/texmf/tex/cwebx} + install -D -m755 cweavex $pkgdir/usr/bin/cweavex + install -D -m755 ctanglex $pkgdir/usr/bin/ctanglex + install -D -m755 ctanglex $pkgdir/usr/bin/ctanglex + install -D -m644 README $pkgdir/usr/share/doc/$pkgname/README + install -D -m644 cweave.dvi $pkgdir/usr/share/doc/$pkgname/cweave.dvi + install -D -m644 ctangle.dvi $pkgdir/usr/share/doc/$pkgname/ctangle.dvi + install -D -m644 common.dvi $pkgdir/usr/share/doc/$pkgname/common.dvi + install -D -m644 manual.dvi $pkgdir/usr/share/doc/$pkgname/manual.dvi + install -D -m644 man1/cweb.1 $pkgdir/usr/share/man/man1/cwebx.1 + install -D -m644 cwebcmac.tex $pkgdir/usr/share/texmf/tex/cwebx/cwebcmac.tex + install -D -m644 cwebhmac.tex $pkgdir/usr/share/texmf/tex/cwebx/cwebhmac.tex + install -D -m644 cwebxmac.tex $pkgdir/usr/share/texmf/tex/cwebx/cwebxmac.tex + cp -r --no-preserve=ownership,mode examples $pkgdir/usr/share/doc/$pkgname/examples + install -D -m644 cwebxmac.tex $pkgdir/usr/share/texmf/tex/cwebx/cwebxmac.tex + install -D -m644 $srcdir/LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE } - |