ddcutil: split -devel

This commit is contained in:
classabbyamp 2024-05-27 00:37:09 -04:00
parent c03119ff2c
commit abef42d74b
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 13 additions and 1 deletions

1
srcpkgs/ddcutil-devel Symbolic link
View File

@ -0,0 +1 @@
ddcutil

View File

@ -1,7 +1,7 @@
# Template file for 'ddcutil'
pkgname=ddcutil
version=2.1.4
revision=1
revision=2
build_style=gnu-configure
configure_args="--libdir=/usr/lib"
hostmakedepends="automake libtool pkg-config"
@ -28,3 +28,14 @@ esac
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
ddcutil-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}