void-packages/srcpkgs/oomox/template
2019-03-01 12:04:45 -03:00

46 lines
2.4 KiB
Bash

# Template file for 'oomox'
pkgname=oomox
version=1.6.2
revision=2
_droid_icon_ver=6dc4c92689ea2ce99534d6f461283efdf8ffd270
_gnome_icon_ver=2f3d8dd3ce59e260803660f158a7a91d643518bf
_oomoxify_ver=fe1b4279bc5e4d39116c718313bf68e167daaabc
_materia_theme_ver=125048a8cba7352e69e6d0b7973ded01889e2949
_oomox_gtk_theme_ver=a0787a875347f1387f390b0e72402842d431eb45
archs=noarch
depends="python3 python3-gobject gtk+3 gdk-pixbuf glib-devel glib sassc
bc sed librsvg librsvg-utils optipng parallel inkscape python3-Pillow"
short_desc="Graphical application for generating color variations of some themes"
maintainer="Tim Wanders <timwanders241@gmail.com>"
license="GPL-3"
homepage="https://github.com/themix-project/oomox"
distfiles="
https://github.com/themix-project/oomox/archive/$version.tar.gz>oomox-$version.tar.gz
https://github.com/themix-project/oomox-archdroid-icon-theme/archive/$_droid_icon_ver.tar.gz>oomox-archdroid-icon-theme-$_droid_icon_ver.tar.gz
https://github.com/themix-project/oomox-gnome-colors-icon-theme/archive/$_gnome_icon_ver.tar.gz>oomox-gnome-colors-$_gnome_icon_ver.tar.gz
https://github.com/themix-project/oomoxify/archive/$_oomoxify_ver.tar.gz>oomoxify-$_oomoxify_ver.tar.gz
https://github.com/nana-4/materia-theme/archive/$_materia_theme_ver.tar.gz>materia-theme-$_materia_theme_ver.tar.gz
https://github.com/themix-project/oomox-gtk-theme/archive/$_oomox_gtk_theme_ver.tar.gz>oomox-gtk-theme-$_oomox_gtk_theme_ver.tar.gz"
checksum="
a32e9159cc772f953ba63caf478271b2152c0daf54db82ae52658d5e18c6e719
d6e91b9f6ea48c0831eaf8cbf266ad2bac672e02d5d28a91caafcf181956f6fa
b7bf90cd61f10b8f7afc1442ecde4ba11bdafcb1e48471c81c568d3f6a04f82a
ebbe38cc62889c58d7b3eb4e21f6c5e2ae54fc16761cf65e99a05571067536ae
dee2a0b38f8fbca3d2980af89f40309f0cb646fad25b88eab1fae5582047160e
98bb87ba18581cd29e1469e6a441f0113d6700e9540492bc4663d0e2d877018b"
post_extract() {
rm -rf archdroid-icon-theme gnome-colors-icon-theme oomoxify \
gtk-theme materia-theme
cp -r ../archdroid-icon-theme-$_droid_icon_ver archdroid-icon-theme
cp -r ../gnome-colors-icon-theme-$_gnome_icon_ver gnome-colors-icon-theme
cp -r ../oomoxify-$_oomoxify_ver oomoxify
cp -r ../materia-theme-$_materia_theme_ver materia-theme
cp -r ../oomox-gtk-theme-$_oomox_gtk_theme_ver gtk-theme
}
do_install() {
# Do not install in /opt/oomox but in /usr/share/oomox
sed -i packaging/*.sh packaging/bin/* -e 's;/opt;/usr/share;g'
bash ./packaging/install.sh ./ ${DESTDIR}/
}