From b94c2b73bc25dcde4b288a317ac6391f74b0eb6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 18 Feb 2020 11:32:23 +0100 Subject: [PATCH] New package: tinyclipboard-16.01 --- common/shlibs | 1 + srcpkgs/tinyclipboard-devel | 1 + srcpkgs/tinyclipboard/template | 29 +++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 120000 srcpkgs/tinyclipboard-devel create mode 100644 srcpkgs/tinyclipboard/template diff --git a/common/shlibs b/common/shlibs index e05866892d..359458abb5 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3775,3 +3775,4 @@ libqlite.so.0 dino-0.1.0_1 libmpir.so.23 mpir-3.0.0_1 libmpirxx.so.8 mpir-3.0.0_1 libcaribou.so.0 libcaribou-0.4.21_3 +libtinyclipboard.so.1 tinyclipboard-16.01_1 diff --git a/srcpkgs/tinyclipboard-devel b/srcpkgs/tinyclipboard-devel new file mode 120000 index 0000000000..95019b4c36 --- /dev/null +++ b/srcpkgs/tinyclipboard-devel @@ -0,0 +1 @@ +tinyclipboard \ No newline at end of file diff --git a/srcpkgs/tinyclipboard/template b/srcpkgs/tinyclipboard/template new file mode 100644 index 0000000000..2dfaf68d94 --- /dev/null +++ b/srcpkgs/tinyclipboard/template @@ -0,0 +1,29 @@ +# Template file for 'tinyclipboard' +pkgname=tinyclipboard +version=16.01 +revision=1 +build_style=gnu-makefile +short_desc="Cross-platform C library for accessing the clipboard" +makedepends="libXt-devel" +maintainer="Jürgen Buchmüller " +license="GPL-3.0-or-later" +homepage="https://redmine.guelker.eu/projects/tinyclipboard" +distfiles="https://files.guelker.eu/projects/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=a5d16f09792183963f7c35e7e27ef9a7bb476bfee230f9bc0bd65df02f5d8429 + +post_install() { + ln -sf libtinyclipboard.so.1.0 ${DESTDIR}/usr/lib/libtinyclipboard.so.1 + ln -sf libtinyclipboard.so.1 ${DESTDIR}/usr/lib/libtinyclipboard.so + vdoc README.md +} + +tinyclipboard-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove "usr/lib/*.a" + vmove usr/share/man + } +}