yochananmarqos

Untitled

Jun 6th, 2020
156
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=qgnomeplatform
  2. pkgver=0.6.1+5+gc835c9e
  3. pkgrel=1
  4. _commit=c835c9e80cfadd62e01f16591721d2103d28a212
  5. pkgdesc="Qt Platform Theme aimed to accomodate as much of GNOME settings
  6. as possible"
  7. arch=('x86_64')
  8. url="https://github.com/FedoraQt/QGnomePlatform"
  9. license=('LGPL2.1')
  10. depends=('qt5-base' 'gtk3' 'qt5-wayland' 'qt5-x11extras')
  11. makedepends=('git')
  12. source=("$pkgname::git+$url.git#commit=$_commit")
  13. sha256sums=('SKIP')
  14.  
  15. pkgver() {
  16.   cd "$srcdir/$pkgname"
  17.   git describe --tags | sed 's/-/+/g'
  18. }
  19.  
  20. build() {
  21.     cd "$srcdir/$pkgname"
  22.     qmake-qt5
  23.     make
  24. }
  25.  
  26. check() {
  27.     cd "$srcdir/$pkgname"
  28.     make -k check
  29. }
  30.  
  31. package() {
  32.     cd "$srcdir/$pkgname"
  33.     make INSTALL_ROOT="$pkgdir/" install
  34. }
RAW Paste Data