30 lines
908 B
Bash
30 lines
908 B
Bash
# 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 <pullmoll@t-online.de>"
|
|
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
|
|
}
|
|
}
|