PKGBUILD 914 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Maintainer: Gwilyn Saunders <gwillz@internode.on.net>
  2. pkgname="photobunny"
  3. pkgver=0.5
  4. pkgrel=1
  5. pkgdesc="A slideshow that scrolls through facebook albums."
  6. arch=(x86_64)
  7. url="http://gitlab.gwillz.com:8888/gwillz/fbslideshow/"
  8. license=('GPLv3')
  9. provides=('photobunny')
  10. conflicts=('photobunny')
  11. depends=('qt5-base' 'qt5-webkit' 'openssl' 'libjpeg')
  12. makedepends=('qt5-base' 'qt5-webkit')
  13. checkdepends=()
  14. optdepends=()
  15. source=()
  16. noextract=()
  17. md5sums=() #generate with 'makepkg -g'
  18. build() {
  19. cd $srcdir/
  20. cp ../*{.h,.cpp,.pro,.qrc,.png} ./
  21. qmake-qt5
  22. make -j 4
  23. }
  24. package() {
  25. cd $pkgdir/
  26. #make DESTDIR=$pkgdir install
  27. mkdir -p usr/bin
  28. mkdir -p usr/share/pixmaps
  29. mkdir -p usr/share/applications
  30. cp $srcdir/photobunny usr/bin
  31. cp $srcdir/silhouette-bunny.png usr/share/pixmaps/photobunny.png
  32. cp $srcdir/../PhotoBunny.desktop usr/share/applications/PhotoBunny.desktop
  33. }