From b1de702cb1fae0c9227081a5558d15857f902b31 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 13 Jun 2018 05:06:31 -0300 Subject: [PATCH] mcabber: separate into -devel package. --- srcpkgs/mcabber-devel | 1 + srcpkgs/mcabber/template | 17 +++++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) create mode 120000 srcpkgs/mcabber-devel diff --git a/srcpkgs/mcabber-devel b/srcpkgs/mcabber-devel new file mode 120000 index 00000000000..f32ce53a2a3 --- /dev/null +++ b/srcpkgs/mcabber-devel @@ -0,0 +1 @@ +mcabber \ No newline at end of file diff --git a/srcpkgs/mcabber/template b/srcpkgs/mcabber/template index 12a3b97df0a..9116ac46859 100644 --- a/srcpkgs/mcabber/template +++ b/srcpkgs/mcabber/template @@ -1,15 +1,15 @@ # Template file for 'mcabber' pkgname=mcabber version=1.1.0 -revision=2 +revision=3 build_style=gnu-configure configure_args="--enable-hgcset --enable-enchant --enable-otr" hostmakedepends="pkg-config" -makedepends="enchant-devel ncurses-devel glib-devel loudmouth-devel gpgme-devel - libgcrypt-devel libotr-devel" +makedepends="enchant-devel gpgme-devel libgcrypt-devel libotr-devel + loudmouth-devel" short_desc="Small XMPP (Jabber) console client" maintainer="Lukas Epple " -license="GPL-2" +license="GPL-2.0-or-later" homepage="http://mcabber.com" distfiles="${homepage}/files/mcabber-${version}.tar.bz2" checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd @@ -17,3 +17,12 @@ checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd post_install() { vsconf mcabberrc.example } + +mcabber-devel_package() { + depends="mcabber-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +} \ No newline at end of file