Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/PKGBUILD b/PKGBUILD
- index 779538a..cc09f9b 100644
- --- a/PKGBUILD
- +++ b/PKGBUILD
- @@ -34,8 +34,6 @@ optdepends=('gutenprint: for sophisticated printing only as gimp has built-in cu
- 'iso-codes: Language support'
- 'aalib: ASCII art support'
- 'zlib: Compression routines')
- -provides=('gimp')
- -conflicts=('gimp')
- source=('git+https://gitlab.gnome.org/GNOME/gimp.git'
- 'linux.gpl')
- sha512sums=('SKIP'
- @@ -94,9 +92,17 @@ package() {
- make DESTDIR="$pkgdir" install
- - install -Dm 644 "$srcdir"/linux.gpl "$pkgdir"/usr/share/gimp/2.0/palettes/Linux.gpl
- + install -Dm 644 "$srcdir"/linux.gpl "$pkgdir"/usr/share/gimp/2.99/palettes/Linux.gpl
- +
- + #fix gimp.desktop
- + mv ${pkgdir}/usr/share/applications/gimp.desktop ${pkgdir}/usr/share/applications/gimp-2.99.desktop
- + sed -i 's/Icon=gimp/&-2.99/' ${pkgdir}/usr/share/applications/gimp-2.99.desktop
- - ln -s gimptool-2.0 "$pkgdir"/usr/bin/gimptool
- - ln -sf gimptool-2.0.1.gz "$pkgdir"/usr/share/man/man1/gimptool.1.gz
- -}
- + #fix icons
- + for icon in $(find ${pkgdir}/usr/share/icons -type f); do
- + mv ${icon} ${icon%.png}-2.99.png
- + done
- + #fix metainfo
- + rm -rf ${pkgdir}/usr/share/metainfo
- +}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement