Initial PKGBUILD status as of 28.11.2014

This commit is contained in:
Jaroslav Lichtblau 2014-11-28 20:17:14 +01:00
commit fcf0aec97a
3 changed files with 54 additions and 0 deletions

17
.SRCINFO Normal file
View file

@ -0,0 +1,17 @@
pkgbase = groff-utf8
pkgdesc = An extension of groff that permits to view UTF-8 encoded man pages.
pkgver = 1
pkgrel = 1
url = http://www.haible.de/bruno/packages-groff-utf8.html
arch = i686
arch = x86_64
license = GPL
makedepends = patch
depends = groff
source = http://www.haible.de/bruno/gnu/groff-utf8.tar.gz
source = groff-utf8-Makefile.patch
md5sums = acbf66fcf1df906e42c1b42f3e7d20dc
md5sums = 68d794e84ca95642560d6f7daa3c3894
pkgname = groff-utf8

26
PKGBUILD Normal file
View file

@ -0,0 +1,26 @@
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Marc Poiroud <marci1 AT archlinux.fr>
pkgname=groff-utf8
pkgver=1
pkgrel=1
pkgdesc="An extension of groff that permits to view UTF-8 encoded man pages."
arch=('i686' 'x86_64')
url="http://www.haible.de/bruno/packages-groff-utf8.html"
license=('GPL')
depends=('groff')
makedepends=('patch')
source=(http://www.haible.de/bruno/gnu/$pkgname.tar.gz \
$pkgname-Makefile.patch)
md5sums=('acbf66fcf1df906e42c1b42f3e7d20dc'
'68d794e84ca95642560d6f7daa3c3894')
build() {
cd "${srcdir}/$pkgname"
patch -Np0 -i "${srcdir}/$pkgname-Makefile.patch" || return 1
make || return 1
make PREFIX=/usr DESTDIR="${pkgdir}" install
}

11
groff-utf8-Makefile.patch Normal file
View file

@ -0,0 +1,11 @@
--- Makefile.orig 2005-07-03 01:27:25.000000000 +0200
+++ Makefile 2008-09-02 22:40:56.000000000 +0200
@@ -24 +24 @@
- mkdir -p $(DESTDIR)$(PREFIX)/bin
+ install -d -m755 $(DESTDIR)$(PREFIX)/bin
@@ -30 +30 @@
- cp $$f $(DESTDIR)$(PREFIX)/bin/$$f || exit 1; \
+ install -m755 $$f $(DESTDIR)$(PREFIX)/bin/$$f || exit 1; \
@@ -34 +34 @@
- mkdir -p $(DESTDIR)$(PREFIX)/bin
+ install -d -m 755 $(DESTDIR)$(PREFIX)/bin