AUR updates for compiz-bcop-git
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.

42 lines
906B

  1. # Maintainer: Florian Dejonckheere <florian@floriandejonckheere.be>
  2. # Contributor: Ronald van Haren <ronald.archlinux.org>
  3. # Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
  4. # Contributor: nesl247 <nesl247@gmail.com>
  5. _upstream="compiz-bcop"
  6. pkgname=compiz-bcop-git
  7. pkgver=0.0.8.16.r1.g0a09ca6
  8. pkgrel=1
  9. pkgdesc="Compiz option code generator"
  10. arch=('any')
  11. url="https://gitlab.com/compiz/${_upstream}"
  12. license=('GPL')
  13. depends=("compiz-core-git" 'libxslt')
  14. makedepends=('intltool')
  15. conflicts=('compiz-bcop-dev' 'compiz-bcop')
  16. provides=('compiz-bcop')
  17. sha1sums=('SKIP')
  18. source=(
  19. "git+https://gitlab.com/compiz/${_upstream}.git"
  20. )
  21. pkgver() {
  22. cd "${srcdir}/${_upstream}"
  23. git describe --long --tags|sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
  24. }
  25. build()
  26. {
  27. cd "${srcdir}/${_upstream}"
  28. ./autogen.sh
  29. ./configure --prefix=/usr
  30. make
  31. }
  32. package()
  33. {
  34. cd "${srcdir}/${_upstream}"
  35. make DESTDIR="${pkgdir}" install
  36. }