Backport libreoffice from PPA

Add helper to get latest available version. Libreoffice configures
the ppa to compile for ubuntu focal, and we just have to adjust
slightly the rules to use their work in Trisquel
This commit is contained in:
Pablo Correa Gómez 2021-05-29 01:24:07 +02:00
parent 32e7df7a8f
commit c77cb382db
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
2 changed files with 55 additions and 0 deletions

32
helpers/make-libreoffice Normal file
View file

@ -0,0 +1,32 @@
#!/bin/sh
#
# Copyright (C) 2021 Pablo Correa Gómez <ablocorrea@hotmail.com>
#
# 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 2 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, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=1
EXTERNAL='deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu $UPSTREAM main'
REPOKEY="83FBA1751378B444"
BACKPORT=true
. ./config
# Make sure that Trisquel gets compiled same as Ubuntu
patch -p0 < $DATA/debian-rules.patch
changelog "Backported to get latest version into Trisquel"
compile