Various compilation scripts & patches for Linux programs.
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.

33 lines
826 B

  1. # Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
  2. pkgname=qt-flif-plugin-git
  3. _pkgname=qt-flif-plugin
  4. pkgver=r14.c1fff14
  5. pkgrel=1
  6. pkgdesc="Free Lossless Image Format"
  7. arch=("i686" "x86_64")
  8. url="https://github.com/FLIF-hub/FLIF"
  9. license=('GPL3')
  10. conflicts=('qt-flif-plugin')
  11. provides=('qt-flif-plugin')
  12. depends=('flif' 'qt5-base')
  13. makedepends=('make')
  14. source=('git+https://github.com/spillerrec/qt-flif-plugin.git')
  15. sha256sums=('SKIP')
  16. pkgver() {
  17. cd "${srcdir}/${_pkgname}"
  18. printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  19. }
  20. build() {
  21. cd "${srcdir}/${_pkgname}"
  22. qmake
  23. make
  24. }
  25. package() {
  26. cd "${srcdir}/${_pkgname}"
  27. mkdir -p "${pkgdir}/usr/lib/qt/plugins/imageformats/"
  28. install -m755 "${srcdir}/${_pkgname}/libflif.so" "${pkgdir}/usr/lib/qt/plugins/imageformats/"
  29. }