From ba6f68ef03302690b194801f75b0b5c6e4c6bad4 Mon Sep 17 00:00:00 2001 From: Jeremy Bicha Date: Sat, 23 Jul 2016 16:26:29 -0400 Subject: [PATCH] Add Makefile --- .gitignore | 10 +++++++++- Makefile.am | 15 +++++++++++++++ README => README.md | 29 ++++++++++++++++++++++------- autogen.sh | 23 +++++++++++++++++++++++ configure.ac | 15 +++++++++++++++ 5 files changed, 84 insertions(+), 8 deletions(-) create mode 100644 Makefile.am rename README => README.md (55%) create mode 100755 autogen.sh create mode 100644 configure.ac diff --git a/.gitignore b/.gitignore index 5236e1e..b089654 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,10 @@ *~ - +Makefile +Makefile.in +aclocal.m4 +autom4te.cache/ +config.log +config.status +configure +install-sh +missing diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..d01086a --- /dev/null +++ b/Makefile.am @@ -0,0 +1,15 @@ +EXTRA_DIST = \ + LICENSE.CC \ + LICENSE.GPL \ + README.md + +themedir = $(datadir)/themes/Albatross + +install-data-hook: + $(MKDIR_P) $(DESTDIR)$(themedir) + cp -r $(srcdir)/gtk-* $(DESTDIR)$(themedir) + cp -r $(srcdir)/metacity-1 $(DESTDIR)$(themedir) + cp -r $(srcdir)/xfwm4 $(DESTDIR)$(themedir) + +uninstall-hook: + test -e $(DESTDIR)$(themedir) && rm -rfv $(DESTDIR)$(themedir) diff --git a/README b/README.md similarity index 55% rename from README rename to README.md index dc4e68d..5ac27f1 100644 --- a/README +++ b/README.md @@ -1,19 +1,34 @@ -Name: Albatross -Summary: Desktop Suite for Xfce. +Albatross +========= +Desktop Suite for Xfce +---------------------- URL: http://shimmerproject.org/projects/albatross/ Copyright 2009–2012 James Schriver, Steve Dodier, Pasi Lallinaho, Mads Rosendahl Hansen + Albatross is dual-licensed as GPLv2 or later and CC-BY-SA 3.0 or later. Contributors: * Satyajit Sahoo * Simon Steinbeiß -Desktop Suite for Xfce. Albatross was the default theme in Xubuntu 9.10 and 10.04. The Albatross desktop suite includes: -– GTK+2/3 theme -– Xfwm4 theme -– Metacity/Mutter theme -– Unity support +- GTK+2/3 theme +- Xfwm4 theme +- Metacity/Mutter theme +- Unity support + +### Install without admin privileges + +``` +./autogen.sh --prefix=$HOME/.local +make install +``` + +### Install for all users + +``` +./autogen.sh +sudo make install diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..95766e2 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,23 @@ +#!/bin/sh +set -e + +test -n "$srcdir" || srcdir=$(dirname "$0") +test -n "$srcdir" || srcdir=. + +olddir=$(pwd) + +cd $srcdir + +autoreconf --force --install --symlink --warnings=all + +cd "$olddir" + +if [ "$NOCONFIGURE" = "" ]; then + $srcdir/configure "$@" || exit 1 + + if [ "$1" = "--help" ]; then exit 0 else + echo "Now type 'make' to compile $PKG_NAME" || exit 1 + fi +else + echo "Skipping configure process." +fi diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..339f16b --- /dev/null +++ b/configure.ac @@ -0,0 +1,15 @@ +AC_INIT([Albatross ], 1.2, [https://github.com/shimmerproject/Albatross/issues], + [Albatross], [http://shimmerproject.org/our-projects/albatross/]) +AM_INIT_AUTOMAKE([1.11 foreign subdir-objects tar-ustar no-dist-gzip dist-xz -Wno-portability]) +AM_SILENT_RULES([yes]) + +AC_PREFIX_DEFAULT(/usr) +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT + +AC_MSG_RESULT([ + Albatross $VERSION + ======== + prefix: ${prefix} + +])