From f33ade4893f0b0e9f7937c95e44d70f97d716a0e Mon Sep 17 00:00:00 2001 From: jbu Date: Thu, 28 May 2015 00:12:16 +0200 Subject: [PATCH] New package: codeblocks-13.12 Closes #1665 --- common/shlibs | 1 + srcpkgs/codeblocks-devel | 1 + srcpkgs/codeblocks/template | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 120000 srcpkgs/codeblocks-devel create mode 100644 srcpkgs/codeblocks/template diff --git a/common/shlibs b/common/shlibs index 5206d9a2cb9..9e3ab9f8c18 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2044,3 +2044,4 @@ libkasten2okteta1gui.so.1 okteta-4.14.2_1 libkasten2okteta1core.so.1 okteta-4.14.2_1 libhttp_parser.so.2.5.0 http-parser-2.5.0_1 libmaa.so.3 libmaa-1.3.2_1 +libcodeblocks.so.0 codeblocks-13.12_1 diff --git a/srcpkgs/codeblocks-devel b/srcpkgs/codeblocks-devel new file mode 120000 index 00000000000..70af82010de --- /dev/null +++ b/srcpkgs/codeblocks-devel @@ -0,0 +1 @@ +codeblocks \ No newline at end of file diff --git a/srcpkgs/codeblocks/template b/srcpkgs/codeblocks/template new file mode 100644 index 00000000000..ec25241958f --- /dev/null +++ b/srcpkgs/codeblocks/template @@ -0,0 +1,28 @@ +# Template file for 'codeblocks' +pkgname=codeblocks +version=13.12 +revision=1 +build_style=gnu-configure +hostmakedepends="zip" +makedepends="wxWidgets-devel" +configure_args="--with-wx-config=wx-config-3.0" +short_desc="Free C, C++ and Fortran IDE" +maintainer="Jürgen Buchmüller " +license="GPL-3" +homepage="http://www.codeblocks.org" +distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/Sources/${version}/${pkgname}_${version}-1.tar.gz" +checksum=772450046e8c8ba2ea0086acf433a46b83e6254fae64df9c8ca132a22f949610 + +post_install() { + vinstall debian/codeblocks.sharedmime 644 /usr/share/mime/packages codeblocks.xml + vinstall src/mime/codeblocks.desktop 644 /usr/share/applications +} + +codeblocks-devel_package() { + depends="${pkgname}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove "usr/lib/*.so" + vmove usr/include/codeblocks + } +}