Skip to content

Commit

Permalink
Added support for .deb package
Browse files Browse the repository at this point in the history
  • Loading branch information
alok4nand committed Aug 21, 2016
1 parent a298c02 commit c5d6790
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deb/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dpkg-buildpackage -us -uc -b
sudo dpkg -i ../telepathy-bell_1.0.0-0\~8.5_all.deb
6 changes: 6 additions & 0 deletions deb/debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
telepathy-bell (0-0) UNRELEASED; urgency=medium

* Telepathy client for Ring

-- Alok Anand <alok4nand@gmail.com> Fri, 19 Aug 2016 13:21:05 +0530

1 change: 1 addition & 0 deletions deb/debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
7 changes: 7 additions & 0 deletions deb/debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Source: telepathy-bell
Build-Depends: cmake, libtelepathy-qt5-dev (>= 0.9.6)
Maintainer: Alok Anand <alok4nand@gmail.com>

Package: telepathy-bell
Architecture: all
Description: Telepathy client for Ring
24 changes: 24 additions & 0 deletions deb/debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/make -f

DISTRIBUTION = $(shell lsb_release -sr)
VERSION = 1.0.0
PACKAGEVERSION = $(VERSION)-0~$(DISTRIBUTION)
TARBALL = master.zip
#URL = "https://github.com/alok4nand/telepathy-bell.git"
URL = "https://github.com/alok4nand/telepathy-bell/archive/master.zip"

%:
dh $@

override_dh_auto_clean:
override_dh_auto_test:
override_dh_auto_build:
override_dh_auto_install:
wget $(URL)
unzip $(TARBALL)
cmake telepathy-bell-master -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install

override_dh_gencontrol:
dh_gencontrol -- -v$(PACKAGEVERSION)

0 comments on commit c5d6790

Please sign in to comment.