recipes: Rename 'pkghashtag' variable to 'pkgcategory'
[dragora.git] / recipes / x-libs / gartoon-redux / recipe
blobc942c9b095b76fcb49783cb18f60038743e65179
1 # Build recipe for gartoon-redux.
3 # Copyright (c) 2018 Matias Fonzo, <selk@dragora.org>.
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 #    http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 program=gartoon-redux
18 version=1.11
19 arch=noarch
20 release=3
22 # Define a category for the output of the package name
23 pkgcategory=x-libs
25 tarname=${program}-${version}.tar.gz
27 # Remote source(s)
28 fetch=http://launchpad.net/gartoon-redux/1.x/${version}/+download/$tarname
30 description="
31 Cartoon-style SVG icon theme for Gnome, based on Gartoon.
33 Gartoon Redux is an icon theme for Gnome derived from Gartoon.
34 It contains hundreds of additional icons, while preserving the overall
35 style of its predecessor.  It includes pre-rendered PNGs in four sizes
36 (16x16, 22x22, 24x24 and 32x32) to fix bugs with some programs, as well
37 as increase performance.
40 homepage=http://launchpad.net/gartoon-redux
41 license=GPLv2+
43 # Source documentation
44 docs="AUTHORS COPYING GPLv2.txt TODO changelog"
45 docsdir="${docdir}/${program}-${version}"
47 # This build system does not support parallel jobs
48 jobs=1
50 build()
52     set -e
54     unpack "${tardir}/$tarname"
56     cd "$srcdir"
58     # Set sane permissions
59     chmod -R u+w,go-w,a+rX-s .
61     ./configure --prefix=/usr --defer-fixlogo
63     make -j${jobs} V=1
64     make -j${jobs} PREFIX="${destdir}/usr" install
66     # This script has an external dependency,
67     # requires a Perl module for work
68     rm -f "${destdir}/usr/share/icons/GartoonRedux/fix-logo.pl"
70     # Copy documentation
71     mkdir -p "${destdir}${docsdir}"
72     cp -p $docs "${destdir}${docsdir}"