Browse Source

Add Oomox and dependencies

master
mid-kid 7 years ago
parent
commit
d4805ecfd4
  1. 16
      satellites/libsass.sat
  2. 49
      satellites/oomox.sat
  3. 16
      satellites/sassc.sat

16
satellites/libsass.sat

@ -0,0 +1,16 @@
import 'compile/configure'
name=libsass
version=3.4.5
update_url="https://github.com/sass/$name/releases"
update_names="/archive/$version.tar.gz"
dlextract "https://github.com/sass/$name/archive/$version/$name-$version.tar.gz" \
'c00583e76b11dd7ae1a577a6f8214803'
_
cd "$name-$version"
autoreconf -fi
compile_configure
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:

49
satellites/oomox.sat

@ -0,0 +1,49 @@
# 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.3.0
version_gtk_theme=15eb243288a1066f4facc07e9ada55abac770508
version_flat_theme=96bffc0b13c81a0a608e036da5b1c720e647a11a
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" \
'505ae6937bfcb070b900443c124d4a9d'
dlextract "https://github.com/actionless/$name-gtk-theme/archive/$version_gtk_theme/$name-gtk-theme-$version_gtk_theme.tar.gz" \
'1e8ac0b818129dc80d6d66de23d4e0ed'
dlextract "https://github.com/nana-4/Flat-Plat/archive/$version_flat_theme/Flat-Plat-$version_flat_theme.tar.gz" \
'808117c556f10ec9fff38e93dc0201e9'
_
cd "$name-$version"
mv -T "../$name-gtk-theme-$version_gtk_theme" gtk-theme
mv -T "../Flat-Plat-$version_flat_theme" flat-plat-theme
# Run the PKGBUILD package() function
ln -s . oomox
mkdir -p install
ln -s ../install gtk-theme/install
ln -s ../install flat-plat-theme/install
(
pkgdir=./install
python() { python3 "$@"; }
. ./PKGBUILD
package
)
# 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/*
sed -i -e "2ccd '/$dir_prefix/$dir_data/$name/gtk-theme'" install/usr/bin/oomox-cli
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/oomox.desktop
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:

16
satellites/sassc.sat

@ -0,0 +1,16 @@
import 'compile/configure'
name=sassc
version=3.4.5
update_url="https://github.com/sass/$name/releases"
update_names="/archive/$version.tar.gz"
dlextract "https://github.com/sass/$name/archive/$version/$name-$version.tar.gz" \
'd134a7ddd85f1b070bac11943f608b51'
_
cd "$name-$version"
autoreconf -fi
compile_configure
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
Loading…
Cancel
Save