Newer
Older
#!/bin/sh
#
# Copyright (C) 2022 Luis Guzman <ark@switnet.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it 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
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# emacs-non-dfsg is under GFDL but due to "invariant sections" is considered
# problematic for Debian
EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu $UPSTREAM multiverse'
. ./config
replace emacs-common-non-dfsg emacs-common-gfdl
find -type d |xargs rename s/emacs-common-non-dfsg/emacs-common-gfdl/g
find -type f |xargs rename s/emacs-common-non-dfsg/emacs-common-gfdl/g
sed -i '/Section:/,/Priority:/s|non-free/editors|editors|' debian/control
sed -i '/Description:/s|non-DFSG ||' debian/control
sed -i '/GNU Emacs is the/,$d' debian/control
changelog "Package emacs-common-gfdl for trisquel"