Trinity Desktop Environment Packaging - Arch Linux pkgbuild's
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.

build.sh 1.7KB

123456789101112131415161718192021222324252627282930313233343536
  1. #!/bin/bash
  2. set -e
  3. tdesrc=$PWD
  4. rm -rf $tdesrc/out
  5. . $tdesrc/environment
  6. compile_directory() {
  7. cd $tdesrc/$1
  8. dir=$PWD
  9. for pkg in $2; do
  10. if [[ $pkg != .* ]]; then
  11. cd "$dir"/tde-"$pkg"
  12. makepkg -Lsci
  13. fi
  14. done
  15. }
  16. ### Build Packages
  17. compile_directory tde-core "tqt3 tqtinterface arts dbus-tqt dbus-1-tqt tqca-tls libart-lgpl avahi-tqt tdelibs tdebase"
  18. compile_directory tde-libs "libcaldav libcarddav libkdcraw libkexiv2"
  19. compile_directory tde-base "tdeartwork tdebindings tdegraphics tdeutils tdeadmin"
  20. compile_directory tde-extra "tdenetwork tdegames gtk-qt-engine tdemultimedia systemsettings .amarok kmplayer krusader tdeedu ksplash-engine-moodin style-qtcurve tdeaccessibility tdepim tdeaddons tdenetworkmanager tdepowersave tdesudo tdetoys tdmtheme twin-style-crystal gtk3-tqt-engine"
  21. compile_directory tde-devel "tdesdk tdevelop tdewebdev"
  22. ### Copy completed packages to out folder and download dependencies to out folder
  23. cd $tdesrc
  24. mkdir -p $tdesrc/out
  25. cp $(find $tdesrc -name *.pkg.tar.xz) $tdesrc/out
  26. wget http://repo.nasutek.com/arch/contrib/docker-dev/htdig-3.2.0b6-11-x86_64.pkg.tar.xz -O $tdesrc/out/htdig-3.2.0b6-11-x86_64.pkg.tar.xz
  27. wget http://repo.nasutek.com/arch/contrib/docker-dev/lcms-1.19-7-x86_64.pkg.tar.xz -O $tdesrc/out/lcms-1.19-7-x86_64.pkg.tar.xz
  28. wget http://repo.nasutek.com/arch/contrib/docker-dev/postgresql-9.6-9.6.13-1-x86_64.pkg.tar.xz -O $tdesrc/out/postgresql-9.6-9.6.13-1-x86_64.pkg.tar.xz
  29. wget http://repo.nasutek.com/arch/contrib/docker-dev/python2-lcms-1.19-7-x86_64.pkg.tar.xz -O $tdesrc/out/python2-lcms-1.19-7-x86_64.pkg.tar.xz
  30. ### Create trinity pacman repo
  31. repo-add $tdesrc/out/trinity.db.tar.gz $tdesrc/out/*.pkg.tar.xz