PKGBUILD 455 B

123456789101112131415161718192021222324252627282930
  1. pkgname=incavead
  2. pkgver=1.0
  3. pkgrel=1
  4. pkgdesc="xxXX0-=-0XXxx"
  5. url="xx"
  6. arch=('x86_64' 'i686')
  7. license=('GPLv3')
  8. depends=()
  9. optdepends=()
  10. makedepends=('git' 'cmake' 'ragel')
  11. conflicts=()
  12. replaces=()
  13. backup=()
  14. source=("git+https://code.google.com/p/incavead/")
  15. md5sums=('SKIP')
  16. build() {
  17. cd "${srcdir}/incavead"
  18. mkdir build
  19. cd build
  20. cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/opt ..
  21. make
  22. }
  23. package() {
  24. cd "${srcdir}/incavead/build"
  25. make install
  26. }