diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..16b6db6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +golang-golang-x-clipboard (0.7.0+dfsg-1) unstable; urgency=low + + * Initial upload to sid, required for nerdlog. + + -- Daniel Baumann Sat, 24 May 2025 11:44:14 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..9564dce --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: golang-golang-x-clipboard +Section: golang +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + dh-sequence-golang, + golang-any, + golang-golang-x-exp-dev, + golang-golang-x-image-dev, + golang-golang-x-mobile-dev, + golang-golang-x-sys-dev, + libegl1-mesa-dev, + libgles2-mesa-dev, + libx11-dev, +Rules-Requires-Root: no +Standards-Version: 4.7.2 +Homepage: https://github.com/golang-design/clipboard +Vcs-Browser: https://forgejo.debian.net/nerdlog/golang-golang-x-clipboard +Testsuite: autopkgtest-pkg-go +XS-Go-Import-Path: golang.design/x/clipboard + +Package: golang-golang-x-clipboard-dev +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, +Description: clipboard for text and images (Go library) + clipboard is a Go library to copy text (UTF-8) and images (PNG). diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..715c574 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,34 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: clipboard +Upstream-Contact: https://github.com/golang-design/clipboard/issues +Source: https://github.com/golang-design/clipboard/tags +Files-Excluded: + vendor + +Files: * +Copyright: 2021 Changkun Ou + 2021 The golang.design Initiative Authors +License: MIT + +Files: debian/* +Copyright: 2025 Daniel Baumann +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e1a1114 --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +%: + dh ${@} --builddirectory=_build --buildsystem=golang + +execute_after_dh_auto_install: + # removing unused files + rm -rf debian/golang-golang-x-clipboard-dev/usr/bin + +override_dh_auto_test: + # disabled (needs display) diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..e4b9871 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +Bug-Database: https://github.com/golang-design/clipboard/issues +Bug-Submit: https://github.com/golang-design/clipboard/issues/new +Repository: https://github.com/golang-design/clipboard.git +Repository-Browse: https://github.com/golang-design/clipboard diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..60baf16 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/golang-design/clipboard/tags .*/v?(\d.*)@ARCHIVE_EXT@