summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoraksr2016-04-14 15:41:48 +0200
committeraksr2016-04-14 15:41:48 +0200
commit0cc1cff0758a246ce72bc53e83f79427d0ba48e6 (patch)
treec3e046859f143e89d45c2325d786953d6996fe91 /PKGBUILD
parent9dafb63279c4476d20f293a30b2a3de5233433e1 (diff)
downloadaur-heirloom-doctools-cvs.tar.gz
...
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 188143d2913..4fe0559cf97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Maintainer: aksr <aksr at t-com dot me>
pkgname=heirloom-doctools-cvs
pkgver=20120529
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
pkgdesc="The Heirloom Documentation Tools consist of a modern roff suite."
url="http://heirloom.sourceforge.net/doctools.html"
@@ -19,20 +19,19 @@ prepare() {
cvs -d:pserver:anonymous:@heirloom.cvs.sourceforge.net:/cvsroot/heirloom login
cvs -d:pserver:anonymous:@heirloom.cvs.sourceforge.net:/cvsroot/heirloom co -P heirloom-doctools
rm -rf $srcdir/build
- cp -ar $srcdir/heirloom-doctools $srcdir/build
- cd "$srcdir/build"
+ cd "$srcdir/${pkgname%-*}"
patch -p1 < ../config.diff
}
build() {
- cd "$srcdir/build"
+ cd "$srcdir/${pkgname%-*}"
make
}
package() {
- cd "$srcdir/build"
+ cd "$srcdir/${pkgname%-*}"
make install ROOT=$pkgdir
- cd "$srcdir/heirloom-doctools/LICENSE"
+ cd "LICENSE/"
for i in *.LICENSE COPYING.LGPL; do
install -Dm0644 $i $pkgdir/usr/share/licenses/${pkgname%-*}/$i
done