summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/metapackages/trinity-apt-archive
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 22:56:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 22:56:40 +0900
commit11394aecd1f906fee2ebd2b90412aeba4651fbff (patch)
treebcf750380e6d9fc7dbe524e16bbe2afde25dcfa0 /ubuntu/_base/metapackages/trinity-apt-archive
parentd24bd898174453b586ac90f2ef7a60165fa26fde (diff)
downloadtde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.tar.gz
tde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.zip
DEB: use _base folder for a distro instead of specific distros (squeeze
and maverick). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ubuntu/_base/metapackages/trinity-apt-archive')
-rw-r--r--ubuntu/_base/metapackages/trinity-apt-archive/debian/changelog6
-rw-r--r--ubuntu/_base/metapackages/trinity-apt-archive/debian/compat1
-rw-r--r--ubuntu/_base/metapackages/trinity-apt-archive/debian/control15
-rw-r--r--ubuntu/_base/metapackages/trinity-apt-archive/debian/copyright16
-rw-r--r--ubuntu/_base/metapackages/trinity-apt-archive/debian/distrospecific/repositories/trinity.list6
-rw-r--r--ubuntu/_base/metapackages/trinity-apt-archive/debian/install1
-rw-r--r--ubuntu/_base/metapackages/trinity-apt-archive/debian/postinst24
-rw-r--r--ubuntu/_base/metapackages/trinity-apt-archive/debian/prerm24
-rwxr-xr-xubuntu/_base/metapackages/trinity-apt-archive/debian/rules29
-rw-r--r--ubuntu/_base/metapackages/trinity-apt-archive/debian/source/format1
-rw-r--r--ubuntu/_base/metapackages/trinity-apt-archive/debian/source/options6
11 files changed, 129 insertions, 0 deletions
diff --git a/ubuntu/_base/metapackages/trinity-apt-archive/debian/changelog b/ubuntu/_base/metapackages/trinity-apt-archive/debian/changelog
new file mode 100644
index 000000000..73f3f2324
--- /dev/null
+++ b/ubuntu/_base/metapackages/trinity-apt-archive/debian/changelog
@@ -0,0 +1,6 @@
+trinity-apt-archive (2011.11.01-1) maverick; urgency=low
+
+ * NIGHTLY BUILDS
+
+ -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 28 Oct 2011 11:39:00 -0600
+
diff --git a/ubuntu/_base/metapackages/trinity-apt-archive/debian/compat b/ubuntu/_base/metapackages/trinity-apt-archive/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/ubuntu/_base/metapackages/trinity-apt-archive/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/ubuntu/_base/metapackages/trinity-apt-archive/debian/control b/ubuntu/_base/metapackages/trinity-apt-archive/debian/control
new file mode 100644
index 000000000..dab80544f
--- /dev/null
+++ b/ubuntu/_base/metapackages/trinity-apt-archive/debian/control
@@ -0,0 +1,15 @@
+Source: trinity-apt-archive
+Section: misc
+Priority: optional
+Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Build-Depends: debhelper (>= 7.0.50~), cdbs
+Standards-Version: 3.8.4
+
+Package: trinity-apt-archive
+Priority: optional
+Architecture: all
+Depends: apt
+Pre-Depends: trinity-keyring
+Description: APT sources list for the Trinity Desktop Environment repository
+ This convenience package contains the APT source list files for the
+ Trinity Desktop Environment repository.
diff --git a/ubuntu/_base/metapackages/trinity-apt-archive/debian/copyright b/ubuntu/_base/metapackages/trinity-apt-archive/debian/copyright
new file mode 100644
index 000000000..81235ac6d
--- /dev/null
+++ b/ubuntu/_base/metapackages/trinity-apt-archive/debian/copyright
@@ -0,0 +1,16 @@
+The files used to generate trinity-apt-archive are free software; you
+can redistribute them and/or modify them under the terms of the GNU
+General Public License as published by the Free Software Foundation;
+either version 2, or (at your option) any later version.
+
+Debian support files for trinity-apt-archive are distributed in the
+hope that they will be useful, but WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License with
+your Debian system, in /usr/share/common-licenses/GPL, or with the
+Debian GNU trinity-apt-archive source package as the file COPYING.
+If not, write to the Free Software Foundation, Inc., 51 Franklin Street,
+Fifth Floor, Boston, MA 02110-1301 USA.
+
diff --git a/ubuntu/_base/metapackages/trinity-apt-archive/debian/distrospecific/repositories/trinity.list b/ubuntu/_base/metapackages/trinity-apt-archive/debian/distrospecific/repositories/trinity.list
new file mode 100644
index 000000000..9b5333714
--- /dev/null
+++ b/ubuntu/_base/metapackages/trinity-apt-archive/debian/distrospecific/repositories/trinity.list
@@ -0,0 +1,6 @@
+# Trinity repositories
+
+deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/ubuntu maverick main
+deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/ubuntu maverick main
+deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/ubuntu maverick main
+deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/ubuntu maverick main
diff --git a/ubuntu/_base/metapackages/trinity-apt-archive/debian/install b/ubuntu/_base/metapackages/trinity-apt-archive/debian/install
new file mode 100644
index 000000000..1246138c5
--- /dev/null
+++ b/ubuntu/_base/metapackages/trinity-apt-archive/debian/install
@@ -0,0 +1 @@
+repositories/trinity.list etc/apt/sources.list.d
diff --git a/ubuntu/_base/metapackages/trinity-apt-archive/debian/postinst b/ubuntu/_base/metapackages/trinity-apt-archive/debian/postinst
new file mode 100644
index 000000000..0319ce224
--- /dev/null
+++ b/ubuntu/_base/metapackages/trinity-apt-archive/debian/postinst
@@ -0,0 +1,24 @@
+#!/bin/sh
+# postinst script for trinity-apt-archive
+
+set -e
+
+case "$1" in
+ configure)
+ ;;
+
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/ubuntu/_base/metapackages/trinity-apt-archive/debian/prerm b/ubuntu/_base/metapackages/trinity-apt-archive/debian/prerm
new file mode 100644
index 000000000..763b8cf65
--- /dev/null
+++ b/ubuntu/_base/metapackages/trinity-apt-archive/debian/prerm
@@ -0,0 +1,24 @@
+#!/bin/sh
+# prerm script for trinity-apt-archive
+
+set -e
+
+case "$1" in
+ remove)
+ ;;
+
+ upgrade|failed-upgrade|deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/ubuntu/_base/metapackages/trinity-apt-archive/debian/rules b/ubuntu/_base/metapackages/trinity-apt-archive/debian/rules
new file mode 100755
index 000000000..311f254a1
--- /dev/null
+++ b/ubuntu/_base/metapackages/trinity-apt-archive/debian/rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+VERSION := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
+DISTRIBUTION := $(shell dpkg-parsechangelog | grep ^Distribution: | cut -d' ' -f2)
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+pre-build:: debian/stamp-distrospecific
+
+debian/stamp-distrospecific:
+ dh_testdir
+ [ -e debian/stamp-distrospecific ] || \
+ ls -a1 debian/distrospecific | grep -v "^\.*$$" | \
+ tee debian/stamp-distrospecific | \
+ tr "\n" "\0" | (cd debian/distrospecific && xargs -r0 mv -t ../..)
+
+clean::
+ dh_testdir
+ [ ! -e debian/stamp-distrospecific ] || \
+ cat debian/stamp-distrospecific | \
+ tr "\n" "\0" | xargs -r0 mv -t debian/distrospecific
+ rm -f debian/stamp-distrospecific
+
+binary-install/trinity-apt-archive::
+ dh_testdir
+ sed -i 's|ubuntu [^ ]* main|ubuntu ${DISTRIBUTION} main|g' debian/$(cdbs_curpkg)/etc/apt/sources.list.d/trinity.list
diff --git a/ubuntu/_base/metapackages/trinity-apt-archive/debian/source/format b/ubuntu/_base/metapackages/trinity-apt-archive/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/ubuntu/_base/metapackages/trinity-apt-archive/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/ubuntu/_base/metapackages/trinity-apt-archive/debian/source/options b/ubuntu/_base/metapackages/trinity-apt-archive/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/ubuntu/_base/metapackages/trinity-apt-archive/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*