You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PKGBUILD 860B

123456789101112131415161718192021222324252627282930313233343536
  1. # Maintainer: John Jenkins <twodopeshaggy@gmail.com>
  2. # Contributor: Baptist BENOIST
  3. pkgname=lddgraph-git
  4. pkgver=r15.d42c718
  5. pkgrel=1
  6. pkgdesc="Small C++ code which creates dependencies graphs using ldd and Graphviz"
  7. arch=(i686 x86_64)
  8. url="http://www.github.com/bbenoist/lddgraph"
  9. license=('BSD')
  10. depends=('gcc-libs' 'graphviz' 'imagemagick')
  11. makedepends=('git' 'make' 'cmake' 'gcc')
  12. provides=(lddgraph)
  13. conflicts=(lddgraph)
  14. source=('git+https://github.com/bbenoist/lddgraph.git')
  15. sha256sums=('SKIP')
  16. pkgver() {
  17. cd "$srcdir/lddgraph"
  18. printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  19. }
  20. build() {
  21. cd "$srcdir/lddgraph"
  22. rm -rf build
  23. mkdir build
  24. cd build
  25. cmake .. -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH="$pkgdir/usr"
  26. make
  27. }
  28. package() {
  29. cd "$srcdir"/lddgraph/build
  30. make install
  31. }