libXfont: disable static, set -devel noarch.

This commit is contained in:
Juan RP 2012-10-10 11:18:13 +02:00
parent 234b667b26
commit 01d7b4f1ed
2 changed files with 9 additions and 7 deletions

View file

@ -1,14 +1,16 @@
# Template file for 'libXfont-devel'. # Template file for 'libXfont-devel'.
# #
depends="xproto fontsproto zlib-devel libfontenc-devel freetype-devel libXfont" depends="xproto fontsproto zlib-devel libfontenc-devel freetype-devel
libXfont-${version}_${revision}"
short_desc="${short_desc} -- development files" short_desc="${short_desc} -- development files"
long_desc="${long_desc} long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
noarch=yes
do_install() { do_install() {
vmove usr/include usr vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/lib/pkgconfig usr/lib vmove usr/lib/pkgconfig usr/lib
} }

View file

@ -1,22 +1,22 @@
# Template build file for 'libXfont'. # Template build file for 'libXfont'.
pkgname=libXfont pkgname=libXfont
version=1.4.5 version=1.4.5
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2" revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-devel-docs" configure_args="--disable-static --disable-devel-docs"
makedepends="pkg-config xproto xtrans fontcacheproto fontsproto zlib-devel freetype-devel libfontenc-devel"
revision=1
short_desc="X font Library" short_desc="X font Library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org/" homepage="http://xorg.freedesktop.org/"
license="MIT" license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=bbf96fb80b6b95cdb1dc968085082a6e668193a54cd9d6e2af669909c0cb7170 checksum=bbf96fb80b6b95cdb1dc968085082a6e668193a54cd9d6e2af669909c0cb7170
long_desc=" long_desc="
This package provides the X font Library from the modular This package provides the X font Library from the modular
X.org X11 project." X.org X11 project."
subpackages="$pkgname-devel" subpackages="$pkgname-devel"
makedepends="pkg-config xproto xtrans fontcacheproto fontsproto
freetype-devel libfontenc-devel"
post_install() { post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname} vinstall COPYING 644 usr/share/licenses/${pkgname}