Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

56 lines
2.9 KiB

# Note: To get the submodule versions, run:
# git clone --depth=1 -b $version https://github.com/actionless/oomox
# cd oomox
# git submodule
name=oomox
version=1.5.0.4
version_gtk_theme=9b6bc1762d11f3b2ba48136dc1e8ae59422f94e5
version_materia_theme=62d928cc46169b575822cc40b6c1a0627d1c3064
version_archdroid_icon_theme=6dc4c92689ea2ce99534d6f461283efdf8ffd270
version_gnome_colors_icon_theme=2f3d8dd3ce59e260803660f158a7a91d643518bf
version_oomoxify=675fedce9a47745212b062e13a7e51b01f2bb581
update_url="https://github.com/actionless/$name/releases"
update_names="/archive/$version.tar.gz"
dlextract "https://github.com/actionless/$name/archive/$version/$name-$version.tar.gz" \
'fa6967c43494d1e859fef534a31a0589'
dlextract "https://github.com/actionless/$name-gtk-theme/archive/$version_gtk_theme/$name-gtk-theme-$version_gtk_theme.tar.gz" \
'fb368633742cf90211201575394b1dd4'
dlextract "https://github.com/nana-4/materia-theme/archive/$version_materia_theme/materia-theme-$version_materia_theme.tar.gz" \
'f6851f54ec512c2785737d3f6b8ac813'
dlextract "https://github.com/actionless/$name-archdroid-icon-theme/archive/$version_archdroid_icon_theme/$name-archdroid-icon-theme-$version_archdroid_icon_theme.tar.gz" \
'6fddfe5d8b4682a10978ff2013dc1fbf'
dlextract "https://github.com/actionless/$name-gnome-colors-icon-theme/archive/$version_gnome_colors_icon_theme/$name-gnome-colors-icon-theme-$version_gnome_colors_icon_theme.tar.gz" \
'857b1a74b50b6ec9b663564e9cbda1e8'
dlextract "https://github.com/actionless/oomoxify/archive/$version_oomoxify/oomoxify-$version_oomoxify.tar.gz" \
'f8a91a6406ef6faacfc7f88b89a5ffdf'
_
cd "$name-$version"
mv -T "../$name-gtk-theme-$version_gtk_theme" plugins/theme_oomox/gtk-theme
mv -T "../materia-theme-$version_materia_theme" plugins/theme_materia/materia-theme
mv -T "../$name-archdroid-icon-theme-$version_archdroid_icon_theme" plugins/icons_archdroid/archdroid-icon-theme
mv -T "../$name-gnome-colors-icon-theme-$version_gnome_colors_icon_theme" plugins/icons_gnomecolors/gnome-colors-icon-theme
mv -T "../oomoxify-$version_oomoxify" plugins/oomoxify
# Run the install script in a contained directory
mkdir -p install
packaging/install.sh "$PWD" "$PWD/install"
# Install the package properly
mkdir -p "$dir_install/$dir_prefix/$dir_data/$name"
cp -Ta install/opt/oomox "$dir_install/$dir_prefix/$dir_data/$name"
# Patch and install wrappers
sed -i -e "2ccd '/$dir_prefix/$dir_data/$name'" install/usr/bin/*
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bin" install/usr/bin/*
# Install desktop
install -Dm644 -t "$dir_install/$dir_prefix/$dir_data/applications" install/usr/share/applications/com.github.actionless.oomox.desktop
# Install icons
mkdir -p "$dir_install/$dir_prefix/$dir_data/icons"
cp -Ta install/usr/share/icons/hicolor "$dir_install/$dir_prefix/$dir_data/icons/hicolor"
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: