forked from basket-notepads/basket
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added script for generating Debian packages (thanks to the Arora proj…
…ect).
- Loading branch information
Showing
7 changed files
with
163 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
ln -sf debian-upstream debian | ||
cat debian/changelog.in | sed "s/##DATE##/`date +%Y%m%d`/g" | sed "s/##RDATE##/`date -R`/g" | sed "s/##DIST##/`lsb_release -cs`/g" > debian/changelog | ||
debuild -b | ||
fakeroot debian/rules clean | ||
rm debian/changelog | ||
rm debian |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
basket (1.9x~git##DATE##-1~##DIST##1~upstream1) ##DIST##; urgency=low | ||
|
||
* Initial release. | ||
|
||
-- Riyad Preukschas <[email protected]> ##RDATE## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Source: basket | ||
Section: kde | ||
Priority: extra | ||
Maintainer: Riyad Preukschas <[email protected]> | ||
Build-Depends: debhelper (>= 7), cmake, kdelibs5-dev (>= 4.2) | ||
Standards-Version: 3.8.0 | ||
Homepage: http://gitorious.org/basket | ||
|
||
Package: basket | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: A multi-purpose note-taking application for KDE | ||
This application provides as many baskets (drawers) as you wish; Several kinds | ||
of objects (texts, URLs, images,...) can be drag-n-drop'd into it. | ||
. | ||
Objects can be edited, copied, dragged... So, they can be arranged according | ||
to users' taste. Moreover, Basket allows you to keep all objects you want in | ||
one place, keep data on hand, take notes... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
This package was debianized by: | ||
|
||
Riyad Preukschas <[email protected]> on Tue, 14 Jul 2009 14:27:11 +0200 | ||
|
||
It was downloaded from: | ||
|
||
http://gitorious.org/basket | ||
|
||
Upstream Author(s): | ||
|
||
Riyad Preukschas <[email protected]> | ||
|
||
Copyright: | ||
|
||
Copyright (C) 2008-2009 Riyad Preukschas <[email protected]> | ||
|
||
License: | ||
|
||
This package is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License version 2 as | ||
published by the Free Software Foundation. | ||
|
||
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 package; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
|
||
On Debian systems, the complete text of the GNU General | ||
Public License can be found in `/usr/share/common-licenses/GPL'. | ||
|
||
The Debian packaging is: | ||
|
||
Copyright C) 2009, Riyad Preukschas <[email protected]> | ||
|
||
and is licensed under the GPL, see above. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
README | ||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
#!/usr/bin/make -f | ||
# -*- makefile -*- | ||
# Sample debian/rules that uses debhelper. | ||
# This file was originally written by Joey Hess and Craig Small. | ||
# As a special exception, when this file is copied by dh-make into a | ||
# dh-make output file, you may use that output file without restriction. | ||
# This special exception was added by Craig Small in version 0.37 of dh-make. | ||
|
||
# Uncomment this to turn on verbose mode. | ||
#export DH_VERBOSE=1 | ||
|
||
|
||
|
||
|
||
|
||
builddir/Makefile: | ||
dh_testdir | ||
# Add here commands to configure the package. | ||
mkdir -p builddir | ||
cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="$(CFLAGS)" -DCMAKE_LD_FLAGS="-Wl,-z,defs" -DCMAKE_CXX_FLAGS="$(CXXFLAGS)" -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=ON | ||
|
||
|
||
build: build-stamp | ||
|
||
build-stamp: builddir/Makefile | ||
dh_testdir | ||
|
||
# Add here commands to compile the package. | ||
$(MAKE) -C builddir | ||
#docbook-to-man debian/basket.sgml > basket.1 | ||
|
||
touch $@ | ||
|
||
clean: | ||
dh_testdir | ||
dh_testroot | ||
rm -f build-stamp | ||
|
||
# Add here commands to clean up after the build process. | ||
rm -rf builddir | ||
|
||
|
||
dh_clean | ||
|
||
install: build | ||
dh_testdir | ||
dh_testroot | ||
dh_prep | ||
dh_installdirs | ||
|
||
# Add here commands to install the package into debian/basket. | ||
$(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/basket install | ||
|
||
|
||
# Build architecture-independent files here. | ||
binary-indep: install | ||
# We have nothing to do by default. | ||
|
||
# Build architecture-dependent files here. | ||
binary-arch: install | ||
dh_testdir | ||
dh_testroot | ||
dh_installchangelogs | ||
dh_installdocs | ||
dh_installexamples | ||
# dh_install | ||
# dh_installmenu | ||
# dh_installdebconf | ||
# dh_installlogrotate | ||
# dh_installemacsen | ||
# dh_installpam | ||
# dh_installmime | ||
# dh_python | ||
# dh_installinit | ||
# dh_installcron | ||
# dh_installinfo | ||
dh_installman | ||
dh_link | ||
dh_strip | ||
dh_compress | ||
dh_fixperms | ||
# dh_perl | ||
# dh_makeshlibs | ||
dh_installdeb | ||
dh_shlibdeps | ||
dh_gencontrol | ||
dh_md5sums | ||
dh_builddeb | ||
|
||
binary: binary-indep binary-arch | ||
.PHONY: build clean binary-indep binary-arch binary install |