[arch-commits] Commit in filesystem/trunk (PKGBUILD)

allan at nymeria.archlinux.org allan at nymeria.archlinux.org
Mon Jan 21 11:40:12 UTC 2013


    Date: Monday, January 21, 2013 @ 12:40:12
  Author: allan
Revision: 175758

upgpkg: filesystem 2013.01-1

move /lib and /lib64 symlinks from glibc, add /usr/lib64 symlink, requires changing from arch=any package

Modified:
  filesystem/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-21 11:36:56 UTC (rev 175757)
+++ PKGBUILD	2013-01-21 11:40:12 UTC (rev 175758)
@@ -2,10 +2,10 @@
 # Maintainer: Tom Gundersen <teg at jklm.no>
 
 pkgname=filesystem
-pkgver=2012.12
+pkgver=2013.01
 pkgrel=1
 pkgdesc='Base filesystem'
-arch=('any')
+arch=('i686' 'x86_64')
 license=('GPL')
 url='http://www.archlinux.org'
 groups=('base')
@@ -76,6 +76,15 @@
 	done
 
 	#
+	# add lib symlinks
+	#
+	ln -s usr/lib ${pkgdir}/lib
+	[[ ${CARCH} = "x86_64" ]] && (
+		ln -s usr/lib ${pkgdir}/lib64
+		ln -s lib ${pkgdir}/usr/lib64
+	)
+
+	#
 	# install archlinux(7) manpage
 	#
 	install -D -m644 ${srcdir}/archlinux.7 usr/share/man/man7/archlinux.7




More information about the arch-commits mailing list