void-packages/srcpkgs/oomox/template
Tim Wanders ed53f8532b New package: oomox-1.4.5.2
Closes: #11405 [via git-merge-pr]
2018-02-06 19:06:55 +01:00

47 lines
2.4 KiB
Bash

# Template file for 'oomox'
pkgname=oomox
version=1.4.5.2
revision=1
_droid_icon_ver=1bf91f49f76112d48415bfa997aabc2cea84f01d
_gnome_icon_ver=3c8596ea630b8255b9cf5d5bf90a69658dd32b79
_oomoxify_ver=1d8899a995e66106650f7f80538893dfc03bd8ee
_materia_theme_ver=43a3ba5335e91d4f713aea12572bf9aecb226d98
_oomox_gtk_theme_ver=2a8c9d172d19eca0fbab2aa4fbd56236b99be18f
noarch=yes
depends="python3 python3-gobject gtk+3 gdk-pixbuf glib-devel glib sassc
bc sed librsvg librsvg-utils optipng parallel inkscape"
short_desc="Graphical application for generating color variations of some themes"
maintainer="Tim Wanders <timwanders241@gmail.com>"
license="GPL-3"
homepage="https://github.com/actionless/oomox"
distfiles="
https://github.com/actionless/oomox/archive/$version.tar.gz>oomox-$version.tar.gz
https://github.com/actionless/oomox-archdroid-icon-theme/archive/$_droid_icon_ver.tar.gz>oomox-archdroid-icon-theme-$_droid_icon_ver.tar.gz
https://github.com/actionless/oomox-gnome-colors-icon-theme/archive/$_gnome_icon_ver.tar.gz>oomox-gnome-colors-$_gnome_icon_ver.tar.gz
https://github.com/actionless/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/actionless/oomox-gtk-theme/archive/$_oomox_gtk_theme_ver.tar.gz>oomox-gtk-theme-$_oomox_gtk_theme_ver.tar.gz"
checksum="
a677b41ba0b3cecafc9e2df52ad99c19658d040dc12470e0f993ee54ad3583f5
69fceb92abd3624386d62321a568e92e75b110ddf95fa26972dc046a786d1b35
9cfab5c96ed6afbb4d21ab04509905f4ab408794c3660d8cc2b0b1e695ebdf62
232f97d32336a57549073845a6659faadd37beab3bc754422959671e535eca5e
7676df4613889c08fcfd00cc6c7d78a24513efcd28274daa5e87db9497ba2a73
7643e870dc9bf13f68c72aaf82741bf1e919d18b30088634485ebacb006a1bba"
post_extract() {
rm -rf archdroid-icon-theme gnome-colors-icon-theme oomoxify \
gtk-theme materia-theme
cp -r ../oomox-archdroid-icon-theme-$_droid_icon_ver archdroid-icon-theme
cp -r ../oomox-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}/
}