diff options
Diffstat (limited to 'graphics/GPS')
-rw-r--r-- | graphics/GPS/GPS.SlackBuild | 34 | ||||
-rw-r--r-- | graphics/GPS/GPS.info | 4 | ||||
-rw-r--r-- | graphics/GPS/README | 1 | ||||
-rw-r--r-- | graphics/GPS/doinst.sh | 2 |
4 files changed, 26 insertions, 15 deletions
diff --git a/graphics/GPS/GPS.SlackBuild b/graphics/GPS/GPS.SlackBuild index b062f7188603c..5386a4871a3f0 100644 --- a/graphics/GPS/GPS.SlackBuild +++ b/graphics/GPS/GPS.SlackBuild @@ -4,6 +4,24 @@ # Written by klaatu # klaatu at the domain of member.fsf.org +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=GPS VERSION=${VERSION:-2_0} @@ -22,26 +40,18 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM\ $VERSION\ final.zip -unzip $CWD/$PRGNAM\ $VERSION\ final.zip -d $TMP/$PRGNAM-$VERSION -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; +cp $CWD/${PRGNAM}_${VERSION}.tar.gz $TMP +chown root:root ${PRGNAM}_${VERSION}.tar.gz mkdir -p $PKG/usr/share/gimp/2.0/ -cp -r brushes dynamics gradients palettes \ - patterns splashes tool-presets \ - $PKG/usr/share/gimp/2.0/ +tar -xf $TMP/${PRGNAM}_${VERSION}.tar.gz -C $PKG/usr/share/gimp/2.0/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/graphics/GPS/GPS.info b/graphics/GPS/GPS.info index 4f2f173e5c211..5cf8feb910355 100644 --- a/graphics/GPS/GPS.info +++ b/graphics/GPS/GPS.info @@ -1,8 +1,8 @@ PRGNAM="GPS" VERSION="2_0" HOMEPAGE="https://code.google.com/p/gps-gimp-paint-studio" -DOWNLOAD="http://gps-gimp-paint-studio.googlecode.com/files/GPS%202_0%20final.zip" -MD5SUM="6ce9b9ec4fea8c2f4f78837f53cf9096" +DOWNLOAD="http://gps-gimp-paint-studio.googlecode.com/files/GPS_2_0.tar.gz" +MD5SUM="72fd1edc148a0c8c8c12993ee266d9e6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/graphics/GPS/README b/graphics/GPS/README index f20e5401b1c77..60ff332580657 100644 --- a/graphics/GPS/README +++ b/graphics/GPS/README @@ -6,4 +6,3 @@ re-touching, and illustrators. Note that this will overwrite any config files you might already have in ~/.gimp-2.8 so if you've got customizations, back 'em up. - diff --git a/graphics/GPS/doinst.sh b/graphics/GPS/doinst.sh new file mode 100644 index 0000000000000..fdf2b79202f00 --- /dev/null +++ b/graphics/GPS/doinst.sh @@ -0,0 +1,2 @@ +chmod -R 755 /usr/share/gimp/2.0/{brushes,dynamics,gradients,palettes,patterns,splashes,tool-presets,License*,Read*} +chown -R root:root /usr/share/gimp/2.0/{brushes,dynamics,gradients,palettes,patterns,splashes,tool-presets,License*,Read*} |