mirror of
https://github.com/dslm4515/BMLFS.git
synced 2025-08-10 02:45:15 +00:00
61 lines
2.0 KiB
Bash
61 lines
2.0 KiB
Bash
#! /bin/bash
|
|
|
|
# Geany
|
|
# Source: https://download.geany.org/geany-2.0.tar.bz2
|
|
#
|
|
# $BUILD = Directory to temporarily install
|
|
# $PKGS = Directory to store built packages
|
|
#
|
|
# DEPS
|
|
# Required: vte, GTK+3
|
|
# Recommended: NONE
|
|
# Optional: NONE
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-vte \
|
|
--enable-gtk3 $BUILDTRUPLE &&
|
|
read -p "Compile?" && make -j2 &&
|
|
|
|
sudo -S make DESTDIR=$BUILD install &&
|
|
sudo -S mkdir -pv /BMAN/install /BMAN/usr/share && \
|
|
sudo -S mv $BUILD/usr/share/man /BMAN/usr/share/ && \
|
|
|
|
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
|
|
cat > /tmp/slack-desc << "EOF"
|
|
# HOW TO EDIT THIS FILE:
|
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
|
# up the first '|' above the ':' following the base package name, and the '|'
|
|
# on the right side marks the last column you can put a character in. You must
|
|
# make exactly 11 lines for the formatting to be correct. It's also
|
|
# customary to leave one space after the ':' except on otherwise blank lines.
|
|
|
|
|-----handy-ruler------------------------------------------------------|
|
|
geany: Geany (small and lightweight Integrated Development Environment)
|
|
geany:
|
|
geany: Geany is a text editor using the GTK2 toolkit with basic features of
|
|
geany: an integrated development environment. It was developed to provide a
|
|
geany: small and fast IDE, which has only a few dependencies from other
|
|
geany: packages. It supports many filetypes and has some nice features.
|
|
geany:
|
|
geany: Homepage: http://geany.uvena.de/
|
|
geany:
|
|
geany:
|
|
geany:
|
|
EOF
|
|
sudo -S mv -v /tmp/slack-desc install/ &&
|
|
sudo -S makepkg -l y -c n $PKGS/geany-2.0-$PSUFFIX && \
|
|
cd /BMAN && \
|
|
cat > /tmp/slack-desc << "EOF"
|
|
geany-doc: Manual for Geany
|
|
geany-doc:
|
|
geany-doc: A text editor using the GTK2 toolkit with basic features of
|
|
geany-doc: an integrated development environment.
|
|
geany-doc:
|
|
geany-doc: http://www.geany.org/
|
|
geany-doc:
|
|
EOF
|
|
sudo -S mv -v /tmp/slack-desc install/ && \
|
|
sudo -S makepkg -l y -c n $PKGS/geany-doc-2.0-noarch-mlfs.txz && \
|
|
sudo -S rm -rf ${BUILD}/* /BMAN/*
|