summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJaroslav Lichtblau2014-11-30 20:07:44 +0100
committerJaroslav Lichtblau2014-11-30 20:07:44 +0100
commite7ba227974d29933a5d2456379f643832eef7fea (patch)
tree8c66708b48f5b1908934ebed3f5c749a1f29c4fc /PKGBUILD
parentfcf0aec97af4361ce6ee651cdfa2eed00daa1d03 (diff)
downloadaur-groff-utf8.tar.gz
groff-utf8-1-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a195e3171ea..ff899965892 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,31 @@
-# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Maintainer: 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."
+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 \
+source=(http://www.haible.de/bruno/gnu/$pkgname.tar.gz
$pkgname-Makefile.patch)
-
md5sums=('acbf66fcf1df906e42c1b42f3e7d20dc'
'68d794e84ca95642560d6f7daa3c3894')
-build() {
- cd "${srcdir}/$pkgname"
+prepare() {
+ cd "${srcdir}"/$pkgname
+ patch -Np0 -i "${srcdir}"/$pkgname-Makefile.patch
+}
- patch -Np0 -i "${srcdir}/$pkgname-Makefile.patch" || return 1
+build() {
+ cd "${srcdir}"/$pkgname
+ make
+}
- make || return 1
+package() {
+ cd "${srcdir}"/$pkgname
make PREFIX=/usr DESTDIR="${pkgdir}" install
-}
+} \ No newline at end of file