Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PKGBUILD: Update pkgbuild with new deps and manpage #9

Merged
merged 1 commit into from Apr 23, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 9 additions & 3 deletions pkgbuild/PKGBUILD
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"
}