Skip to content

Commit

Permalink
PKGBUILD: Update pkgbuild with new deps and manpage
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kyrias committed Apr 23, 2014
1 parent 875c856 commit dba1fac
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pkgbuild/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -21,6 +21,10 @@ pkgver() {
git describe --tags | sed 's/^v//; s/-/-r/; s/-/./g'
}

build() {
cd archmap/docs
make man
}

package() {
cd archmap
Expand All @@ -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"
}

0 comments on commit dba1fac

Please sign in to comment.