linux-rules

PKGBUILD of gimp-plugin-pspi (modified)

Apr 9th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. # Maintainer:maz-1 <loveayawaka at gmail dot com>
  2.  
  3. pkgname=gimp-plugin-pspi
  4. _pkgname=gimp-pspi
  5. pkgver=1.0.7
  6. pkgrel=5
  7. pkgdesc='Pspi is a GIMP plug-in that runs 3rd-party Photoshop plug-in filters.'
  8. arch=('i686' 'x86_64')
  9. url='http://the-tml.net/gimp/pspi.html'
  10. license=('MIT')
  11. depends=('gimp' 'wine')
  12. depends_i686=( 'libpng12' 'cairo' 'glitz')
  13. depends_x86_64=( 'lib32-libpng12' 'lib32-glitz' 'lib32-cairo' 'lib32-gimp')
  14. source=(
  15. "https://web.archive.org/web/20170321104327/http://the-tml.net/gimp/${_pkgname}-${pkgver}.suse10.i386.tar.gz"
  16. license
  17. )
  18. #source=("http://the-tml.net/gimp/${_pkgname}-${pkgver}.tar.gz")
  19.  
  20. build() {
  21. cd "${srcdir}"
  22. # cd "${srcdir}/pspi-${pkgver}"
  23. # winegcc -o pspi *.o $(pkg-config --libs gimp-2.0) $(pkg-config --libs gimpui-2.0) -ladvapi32 -lgdi32
  24.  
  25.  
  26. }
  27.  
  28. package() {
  29. cd "${srcdir}"
  30. install -Dm755 pspi $pkgdir/usr/lib/gimp/2.0/plug-ins/pspi
  31. install -Dm644 pspi.exe.so $pkgdir/usr/lib/gimp/2.0/plug-ins/pspi.exe.so
  32. install -Dm644 license $pkgdir/usr/share/licenses/${pkgname}/license
  33.  
  34.  
  35. }
  36.  
  37. #source
  38. #md5sums=('6820d7963f78c97ffcc1b6ce7c858772')
  39. #binary
  40. md5sums=('01a465b0773f1f3cbded197dc1580c06'
  41. '6a1522ad01ba6bc0d6773cd38ad5e240')
Add Comment
Please, Sign In to add comment