summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdo Roig-Maranges2017-09-20 10:07:48 +0200
committerAbdo Roig-Maranges2017-09-20 10:07:48 +0200
commit7b0d9bb5b7f739bda4efad452df3bf6443936507 (patch)
tree37757f1ae2e5d236b1eafda788ee7286312d00a5
parenta36fbe9eea10a1398de0bf9a8e407ca34639b3d8 (diff)
downloadaur-7b0d9bb5b7f739bda4efad452df3bf6443936507.tar.gz
minor changes
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4afdc023c29..299a8ceea0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,26 +20,26 @@ pkgver() {
}
prepare() {
+ cd "${srcdir}/git-spindle"
+
# NOTE: Since we only build the man page, we tweak docs configuration so that
# it does not require a sphinx theme.
- sed -i '/csp/d' "$srcdir/git-spindle/docs/conf.py"
+ sed -i '/csp/d' "docs/conf.py"
}
build() {
cd "$srcdir/git-spindle"
python setup.py build
- cd "$srcdir/git-spindle/docs"
- LANG=en_US.UTF-8 make man
+ LANG=en_US.UTF-8 make -C docs man
}
package() {
cd "$srcdir/git-spindle"
python setup.py install --prefix=/usr --root="$pkgdir"
- cd "$srcdir/git-spindle/docs"
install -d "$pkgdir/usr/share/man/man1/"
- install -m644 _build/man/*.1 "$pkgdir/usr/share/man/man1/"
+ install -m644 docs/_build/man/*.1 "$pkgdir/usr/share/man/man1/"
}
# vim:set ts=2 sw=2 et: