From dba1fac3a4b88f2235d960cf72402040eeb4c1ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20L=C3=B6thberg?= Date: Wed, 23 Apr 2014 21:04:34 +0200 Subject: [PATCH] PKGBUILD: Update pkgbuild with new deps and manpage README was converted to rst, markers.kml no longer in the repo. ArchMap now depends on python-simplekml for kml files and python-sphinx for generating the manpage. --- pkgbuild/PKGBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgbuild/PKGBUILD b/pkgbuild/PKGBUILD index 24eae0d..13bd553 100644 --- a/pkgbuild/PKGBUILD +++ b/pkgbuild/PKGBUILD @@ -9,8 +9,8 @@ arch=('any') url="https://github.com/maelstrom59/ArchMap" license=('custom:UNLICENSE') -depends=('python' 'python-geojson') -makedepends=('git') +depends=('python' 'python-geojson' 'python-simplekml') +makedepends=('git' 'python-sphinx') install=archmap.install source=('archmap::git+https://github.com/maelstrom59/ArchMap.git') @@ -21,6 +21,10 @@ pkgver() { git describe --tags | sed 's/^v//; s/-/-r/; s/-/./g' } +build() { + cd archmap/docs + make man +} package() { cd archmap @@ -30,7 +34,9 @@ package() { install -m644 systemd/archmap.{service,timer} "$pkgdir/usr/lib/systemd/system/" install -d "$pkgdir/usr/share/doc/archmap" - install {README.md,archmap.conf,markers.kml} "$pkgdir/usr/share/doc/archmap" + install {README.rst,archmap.conf} "$pkgdir/usr/share/doc/archmap" + + install -D docs/_build/man/archmap.1 "$pkgdir/usr/share/man/man1/archmap.1" install -D -m644 UNLICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }