diff --git a/pkg/ubuntu/build.sh b/pkg/ubuntu/build.sh new file mode 100644 index 0000000000000000000000000000000000000000..211236a5afdd6eb48fae2695b65e0b11178588c4 --- /dev/null +++ b/pkg/ubuntu/build.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +cd `dirname $0` + +debuild -uc -us -b +#fakeroot debian/rules clean diff --git a/pkg/ubuntu/debian/changelog b/pkg/ubuntu/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..2f3f470a59fa27af2abf113e8c9a68fe1b970f57 --- /dev/null +++ b/pkg/ubuntu/debian/changelog @@ -0,0 +1,5 @@ +xdgurl (1.0.0-0ubuntu1) xenial; urgency=low + + * Initial release + + -- Akira Ohgaki <akiraohgaki@gmail.com> Tue, 05 Jul 2016 15:53:09 +0000 diff --git a/pkg/ubuntu/debian/compat b/pkg/ubuntu/debian/compat new file mode 100644 index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7 --- /dev/null +++ b/pkg/ubuntu/debian/compat @@ -0,0 +1 @@ +9 diff --git a/pkg/ubuntu/debian/control b/pkg/ubuntu/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..7337968c428929a543851ca11cc1fcd96361cbb1 --- /dev/null +++ b/pkg/ubuntu/debian/control @@ -0,0 +1,12 @@ +Source: xdgurl +Section: web +Priority: optional +Maintainer: Akira Ohgaki <akiraohgaki@gmail.com> +Build-Depends: build-essential (>= 11), devscripts (>= 2.14), debhelper (>= 9), fakeroot (>= 1.20) +Standards-Version: 3.9.4 + +Package: xdgurl +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, python (>= 2.7.0), python-tk (>= 2.7.0) +Description: xdgurl + An install helper program for desktop stuff. diff --git a/pkg/ubuntu/debian/copyright b/pkg/ubuntu/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..5e4c2739d8fd9bf4e1d75d27646f8441c8757f7b --- /dev/null +++ b/pkg/ubuntu/debian/copyright @@ -0,0 +1,10 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: xdgurl +Upstream-Contact: Akira Ohgaki <akiraohgaki@gmail.com> +Source: https://github.com/xdgurl/xdgurl + +Files: * +Copyright: 2016, Akira Ohgaki +License: GPL-3+ + On Debian systems, the full text of the GNU General Public License version 3 + can be found in the `/usr/share/common-licenses/GPL-3' file. diff --git a/pkg/ubuntu/debian/rules b/pkg/ubuntu/debian/rules new file mode 100755 index 0000000000000000000000000000000000000000..b17aa6947e4c7d8bf1edd14adc97880127dfbd39 --- /dev/null +++ b/pkg/ubuntu/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_install: + install -D -m 755 ../../src/xdgurl.py usr/bin/xdgurl + install -D -m 644 ../../src/xdgurl.desktop usr/share/applications/xdgurl.desktop + +override_dh_shlibdeps: + # ignore diff --git a/pkg/ubuntu/debian/xdgurl.install b/pkg/ubuntu/debian/xdgurl.install new file mode 100644 index 0000000000000000000000000000000000000000..dcca62ee52466ef8bd412092cf039b29539b6a9a --- /dev/null +++ b/pkg/ubuntu/debian/xdgurl.install @@ -0,0 +1,2 @@ +usr/bin/xdgurl +usr/share/applications/xdgurl.desktop