Advertisement
Localizator

PKGBUILD

Apr 14th, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.82 KB | None | 0 0
  1. # Maintainer: Jerome Leclanche <[email protected]>
  2. # Contributor: Andrea Scarpino <[email protected]>
  3. # Contributor: Pier Luigi Fiorini <[email protected]>
  4.  
  5. _pkgname=qt5-multimedia
  6. pkgname=$_pkgname-git
  7. pkgver=v5.5.0.alpha1.28.g6187b72
  8. pkgrel=1
  9. pkgdesc="A cross-platform application and UI framework (QtMultimedia)"
  10. arch=("i686" "x86_64")
  11. url="https://qt-project.org/"
  12. license=("GPL3" "LGPL")
  13. depends=("qt5-base-git")
  14. makedepends=("git")
  15. provides=("$_pkgname")
  16. conflicts=("$_pkgname")
  17. source=("$_pkgname::git+https://gitorious.org/qt/qtmultimedia.git#branch=5.5")
  18. sha256sums=("SKIP")
  19.  
  20. pkgver() {
  21.     cd "$srcdir/$_pkgname"
  22.     git describe --always | sed "s/-/./g"
  23. }
  24.  
  25. build() {
  26.     mkdir -p build
  27.     cd build
  28.     qmake "$srcdir/$_pkgname"
  29.     make
  30. }
  31.  
  32. package() {
  33.     cd build
  34.     make INSTALL_ROOT="$pkgdir" install
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement