summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--GIMP_AppImage-release.sh2
-rw-r--r--GIMP_AppImage.install12
-rw-r--r--PKGBUILD42
4 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4456c449b95
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = gimp-appimage
+ pkgdesc = GNU Image Manipulation Program (AppImage version)
+ pkgver = 2.10.22
+ pkgrel = 1
+ url = https://github.com/aferrero2707/gimp-appimage
+ install = GIMP_AppImage.install
+ arch = x86_64
+ license = custom
+ depends = hicolor-icon-theme
+ depends = zlib
+ provides = gimp
+ conflicts = gimp
+ options = !strip
+ options = !emptydirs
+ source = GIMP_AppImage-release-2.10.22-withplugins-x86_64.AppImage::https://github.com/aferrero2707/gimp-appimage/releases/download/continuous/GIMP_AppImage-release-2.10.22-withplugins-x86_64.AppImage
+ source = GIMP_AppImage-release.sh
+ sha256sums = 0289456e7bd566d14fb0c6f8f22bca58bcf62d6b698fb41571d5e2d347b62e42
+ sha256sums = 04e6d5c88f0eed70bcb1189a89015878943e6f039db30bb6f50fcad363d67487
+
+pkgname = gimp-appimage
+
diff --git a/GIMP_AppImage-release.sh b/GIMP_AppImage-release.sh
new file mode 100644
index 00000000000..10c4dd905d8
--- /dev/null
+++ b/GIMP_AppImage-release.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+/opt/appimages/./GIMP_AppImage-release.AppImage $@
diff --git a/GIMP_AppImage.install b/GIMP_AppImage.install
new file mode 100644
index 00000000000..ff09537d90f
--- /dev/null
+++ b/GIMP_AppImage.install
@@ -0,0 +1,12 @@
+# GIMP_AppImage.install
+#
+# vim: set ts=4 sw=4 et syn=sh ft=sh:
+#
+post_install() {
+ echo ""
+ echo " Don't forget to move the Gimp configuration directory"
+ echo " so that GIMP-AppImage uses all your custom settings.:"
+ echo ""
+ echo " mv ~/.config/GIMP ~/.config/GIMP-AppImage"
+ echo ""
+}
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..11c942f8018
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: ValHue <vhuelamo at gmail dot com>
+#
+_pkgname="GIMP_AppImage-release"
+pkgname="gimp-appimage"
+pkgver="2.10.22"
+pkgrel="1"
+pkgdesc="GNU Image Manipulation Program (AppImage version)"
+arch=('x86_64')
+_filename="${_pkgname}-${pkgver}-withplugins-${arch}.AppImage"
+url='https://github.com/aferrero2707/gimp-appimage'
+license=('custom')
+depends=('hicolor-icon-theme' 'zlib')
+provides=('gimp')
+conflicts=('gimp')
+options=('!strip' '!emptydirs')
+install='GIMP_AppImage.install'
+source=("${_filename}::${url}/releases/download/continuous/${_filename}"
+ ${_pkgname}.sh)
+sha256sums=('0289456e7bd566d14fb0c6f8f22bca58bcf62d6b698fb41571d5e2d347b62e42'
+ '04e6d5c88f0eed70bcb1189a89015878943e6f039db30bb6f50fcad363d67487')
+
+prepare() {
+ cd "${srcdir}"
+
+ # mark as executable so we can extract
+ chmod u+x ${_filename}
+
+ # extract the AppImage
+ ./${_filename} --appimage-extract
+}
+
+package() {
+ install -Dm755 "${srcdir}/${_filename}" "${pkgdir}/opt/appimages/${_pkgname}.AppImage"
+ install -Dm755 "${srcdir}/${_pkgname}.sh" "${pkgdir}/usr/bin/gimp-2.10"
+ ln -s "${pkgdir}/usr/bin/gimp-2.10" "${pkgdir}/usr/bin/gimp"
+
+ install -dm755 "${pkgdir}/usr/share/"
+ cp -r --no-preserve=mode,ownership "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/"
+ cp -r --no-preserve=mode,ownership "${srcdir}/squashfs-root/usr/share/applications" "${pkgdir}/usr/share/"
+}
+
+# vim: set ts=4 sw=4 et syn=sh ft=sh: