diff --git a/srcpkgs/ddcutil-devel b/srcpkgs/ddcutil-devel new file mode 120000 index 00000000000..951a9f5d13f --- /dev/null +++ b/srcpkgs/ddcutil-devel @@ -0,0 +1 @@ +ddcutil \ No newline at end of file diff --git a/srcpkgs/ddcutil/template b/srcpkgs/ddcutil/template index e34da8423fb..469d79f67b9 100644 --- a/srcpkgs/ddcutil/template +++ b/srcpkgs/ddcutil/template @@ -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" + } +}