Split apt sources package from keyring package

This relates to Bug 649
pull/3/head
Timothy Pearson 10 years ago
parent 66d1236e2c
commit 61508ec3ff

@ -0,0 +1 @@
../../../ubuntu/maverick/metapackages/trinity-apt-archive

@ -0,0 +1 @@
../../../ubuntu/maverick/metapackages/trinity-apt-archive

@ -0,0 +1,6 @@
trinity-apt-archive (2011.11.01-1) maverick; urgency=low
* NIGHTLY BUILDS
-- Timothy Pearson <kb9vqf@pearsoncomputing.net> Mon, 28 Oct 2011 11:39:00 -0600

@ -0,0 +1,15 @@
Source: trinity-apt-archive
Section: misc
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Build-Depends: debhelper (>=5.0), cdbs
Standards-Version: 3.8.4
Package: trinity-apt-archive
Priority: important
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.

@ -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.

@ -0,0 +1 @@
repositories/trinity.list etc/apt/sources.list.d

@ -0,0 +1,25 @@
#!/bin/sh
# postinst script for trinity-apt-archive
set -e
case "$1" in
configure)
apt-get update
;;
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

@ -0,0 +1,25 @@
#!/bin/sh
# prerm script for trinity-apt-archive
set -e
case "$1" in
remove)
apt-get update
;;
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

@ -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

@ -0,0 +1,6 @@
# Use xz instead of gzip
compression = "xz"
compression-level = 9
# Don't run differences
diff-ignore = .*

@ -1,2 +1 @@
keyrings usr/share
repositories/trinity.list etc/apt/sources.list.d

Loading…
Cancel
Save