1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #!/bin/ksh
- doas pkg_add geany intltool
- #cd /tmp
- #curl -OL "https://plugins.geany.org/geany-plugins/geany-plugins-1.38.tar.gz"
- #gpg --recv-keys 01380DF54FD09D02
- #gpg --verify geany-plugins-1.38.tar.gz.sig geany-plugins-1.38.tar.gz
- application=geany-plugins
- repository=https://github.com/geany/geany-plugins.git
- export compile=
- mkdir -p ~/src
- cd ~/src || return
- if [ ! -d $application ]; then
- git clone $repository
- cd $application || return
- export compile=true
- else
- cd $application || return
- #git pull
- pwd
- git fetch
- LOCAL=$(git rev-parse HEAD)
- REMOTE=$(git rev-parse @{u})
- if [ ! $LOCAL = $REMOTE ]; then
- pwd
- echo "Need to pull"
- git pull
- export compile=true
- fi
- fi
- if [ "$compile" = "true" ]; then
- cd ~/src/$application || return
- echo ""
- echo "NOTE: If getting a 'Provide an AUTOMAKE_VERSION environment variable, please' error do this:"
- echo "$ export AUTOMAKE_VERSION=1.16 # <- (version without minor number 1.16.5 > 1.16)"
- echo "$ export AUTOCONF_VERSION=2.71 # <- (version without minor number 2.71p3 > 2.71)"
- echo ""
- export AUTOMAKE_VERSION=1.16
- export AUTOCONF_VERSION=2.71
- ./autogen.sh
- gmake
- doas gmake install
- fi
|