diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 10 insertions, 4 deletions
@@ -1,12 +1,12 @@ pkgbase = tr2latex pkgdesc = Translate troff source to LaTeX pkgver = 2.4 - pkgrel = 1 + pkgrel = 2 url = http://www.ctan.org/tex-archive/support/tr2latex install = tr2latex.install arch = i686 arch = x86_64 - license = publicdomain + license = custom:publicdomain source = http://www.ctan.org/tex-archive/support/tr2latex.zip source = tr2latex.install md5sums = e5b6e9181ff76c7ad8d631feafce5123 @@ -1,12 +1,12 @@ # Maintainer: aksr <aksr at t-com dot me> pkgname=tr2latex pkgver=2.4 -pkgrel=1 +pkgrel=2 epoch= pkgdesc="Translate troff source to LaTeX" arch=('i686' 'x86_64') url="http://www.ctan.org/tex-archive/support/tr2latex" -license=('publicdomain') +license=('custom:publicdomain') groups=() depends=() makedepends=() @@ -44,5 +44,11 @@ package() { cd "$srcdir/$pkgname" make PREFIX="$pkgdir/usr" \ TEXDIR="$pkgdir/usr/share/texmf-dist/tex/latex/$pkgname" install + + ## a quick-and-ugly™ hack to create a license file: + sed '5,21!d' README > LICENSE + sed '24,33!d' README >> LICENSE + sed '52,56!d' README >> LICENSE + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE } |