From 68296e596286262a0314a1680d29f1a00f6b529e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 28 Dec 2013 11:09:24 +0100 Subject: [PATCH] New package: libxshmfence-1.1. --- common/shlibs | 1 + srcpkgs/libxshmfence-devel | 1 + srcpkgs/libxshmfence/template | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 120000 srcpkgs/libxshmfence-devel create mode 100644 srcpkgs/libxshmfence/template diff --git a/common/shlibs b/common/shlibs index 7536cf039a5..a76b9ca0572 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1445,3 +1445,4 @@ libmuffin.so.0 muffin-2.0.5_1 libcinnamon-desktop.so.4 cinnamon-desktop-2.0.4_1 libcinnamon-control-center.so.1 cinnamon-control-center-2.0.9_1 libnemo-extension.so.1 libnemo-2.0.8_1 +libxshmfence.so.1 libxshmfence-1.1_1 diff --git a/srcpkgs/libxshmfence-devel b/srcpkgs/libxshmfence-devel new file mode 120000 index 00000000000..0b495991a08 --- /dev/null +++ b/srcpkgs/libxshmfence-devel @@ -0,0 +1 @@ +libxshmfence \ No newline at end of file diff --git a/srcpkgs/libxshmfence/template b/srcpkgs/libxshmfence/template new file mode 100644 index 00000000000..22d3c00633b --- /dev/null +++ b/srcpkgs/libxshmfence/template @@ -0,0 +1,34 @@ +# Template build file for 'libxshmfence'. +pkgname=libxshmfence +version=1.1 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="xproto" +short_desc="X Shared memory 'SyncFence' synchronization primitive" +maintainer="Juan RP " +homepage="http://xorg.freedesktop.org/" +license="MIT" +distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" +checksum=dbc2db2925ca9f216fd1e9c63d0974db9f4d49aaf5877ffb606d2d8d7e58cebe + +post_install() { + vinstall COPYING 644 usr/share/licenses/${pkgname} +} + +libxshmfence-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + vmove "usr/lib/*.a" + } +} + +libxshmfence_package() { + pkg_install() { + vmove all + } +}