📦 Switch to makedeb for packaging deb

This commit is contained in:
Edgar 2021-10-19 09:02:53 +00:00
parent bfbb45d5cc
commit f308c6845e
10 changed files with 27 additions and 102 deletions

View File

@ -1,8 +0,0 @@
fuel (1.0.0-1) unstable; urgency=low
* Feature: Long Operations can now be aborted by pressing the Escape key
* Improvement: Better support for commit messages with international characters
* Improvement: Fossil queries about CR/NL inconsistencies are now handled better
* Improvement: Files in Conflicted state are now shown
* Added localisations: Russia, Portuguese
-- Kostas <karanikolas@gmail.com> Sat, 28 Mar 2015 12:00:00 +0200

1
dist/debian/compat vendored
View File

@ -1 +0,0 @@
9

17
dist/debian/control vendored
View File

@ -1,17 +0,0 @@
Source: fuel
Section: x11
Priority: optional
Maintainer: Kostas Karanikolas <karanikolas@gmail.com>
Build-Depends: cdbs, debhelper (>= 8.0.0), qtbase5-dev, qttools5-dev-tools,
libqt5webkit5-dev
Standards-Version: 3.9.4
Homepage: http://fuelscm.org
#Vcs-Git: git://git.debian.org/collab-maint/fuel.git
#Vcs-Browser: http://git.debian.org/?p=collab-maint/fuel.git;a=summary
Package: fuel
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: fossil
Description: Fossil SCM GUI
Fuel is cross-platform GUI front-end for the Fossil SCM tool written in Qt.

38
dist/debian/copyright vendored
View File

@ -1,38 +0,0 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: fuel
Source: <url://example.com>
Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
License: <special license>
<Put the license of the package here indented by 1 space>
<This follows the format of Description: lines in control file>
.
<Including paragraphs>
# If you want to use GPL v2 or later for the /debian/* files use
# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
Copyright: 2014 Kostas <kostas@unknown>
License: GPL-2+
This package 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 package 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/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid to pick license terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.

View File

@ -1 +0,0 @@
rsrc/icons/fuel.png usr/share/pixmaps

6
dist/debian/menu vendored
View File

@ -1,6 +0,0 @@
?package(fuel):\
needs="X11"\
section="Applications/File Management"\
title="Fuel"\
icon32x32="/usr/share/pixmaps/fuel.png"\
command="/usr/bin/fuel"

6
dist/debian/rules vendored
View File

@ -1,6 +0,0 @@
#!/usr/bin/make -f
# -*- makefile -*-
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/qmake.mk

View File

@ -1 +0,0 @@
3.0 (quilt)

24
dist/debian/watch vendored
View File

@ -1,24 +0,0 @@
# Example watch control file for uscan
# Rename this file to "watch" and then you can run the "uscan" command
# to check for upstream updates and more.
# See uscan(1) for format
# Compulsory line, this is a version 3 file
version=3
# Uncomment to examine a Webpage
# <Webpage URL> <string match>
#http://www.example.com/downloads.php fuel-(.*)\.tar\.gz
http://fuelscm.org/files/releases fuel-(.*)\.tar\.gz
# Uncomment to examine a Webserver directory
#http://www.example.com/pub/fuel-(.*)\.tar\.gz
# Uncommment to examine a FTP server
#ftp://ftp.example.com/pub/fuel-(.*)\.tar\.gz debian uupdate
# Uncomment to find new files on sourceforge, for devscripts >= 2.9
# http://sf.net/fuel/fuel-(.*)\.tar\.gz
# Uncomment to find new files on GooglePages
# http://example.googlepages.com/foo.html fuel-(.*)\.tar\.gz

27
dist/makedeb/PKGBUILD vendored Normal file
View File

@ -0,0 +1,27 @@
# Maintainer: Edgar <Edgar{at}AnotherFoxGuy.com>
pkgname=fuel-git
pkgver=2.0.0
pkgrel=1
pkgdesc="A GUI front-end to Fossil SCM"
arch=(i686 x86_64)
url="https://fuel-scm.org/"
license=('GPL2')
depends=('qtbase5-dev' 'qtwebengine5-dev' 'qttools5-dev' 'fossil' 'qt5keychain-dev')
makedepends=('git' 'cmake')
source=("git://github.com/AnotherFoxGuy/fuel-scm")
md5sums=('SKIP')
build() {
cd "$srcdir/fuel-scm"
[ -d build ] && rm -r build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
make -j$(nproc)
}
package() {
cd "$srcdir/fuel-scm/build"
make DESTDIR="${pkgdir}" install
}