[arch-commits] Commit in filesystem/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sun Nov 1 03:57:30 UTC 2009
Date: Saturday, October 31, 2009 @ 23:57:30
Author: allan
Revision: 57618
upgpkg: filesystem 2009.11-1
2009.11 release, remove /usr/man directory
Modified:
filesystem/trunk/PKGBUILD
----------+
PKGBUILD | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-11-01 03:38:10 UTC (rev 57617)
+++ PKGBUILD 2009-11-01 03:57:30 UTC (rev 57618)
@@ -3,10 +3,10 @@
# Contributor: judd <jvinet at zeroflux.org>
pkgname=filesystem
-pkgver=2009.07
+pkgver=2009.11
pkgrel=1
pkgdesc="Base filesystem"
-arch=(i686 x86_64)
+arch=('any')
license=('GPL')
url="http://www.archlinux.org"
groups=('base')
@@ -21,7 +21,7 @@
md5sums=('78a40317b8ea1d6810835fb12501fec7'
'1bdc5dba66947d74866a5df8ce9ef3b1'
'13753e4e0964f3652b0cc60a28528bdf'
- '36f442b3638c8857180c5bfbfccc4728'
+ '933dee67c58d452334d342c294342910'
'f28150d4c0b22a017be51b9f7f9977ed'
'2c24792d97ef3cf0d73b60d4c429730b'
'8a9042a2cedf6b6b47eb8973f14289cb'
@@ -40,25 +40,25 @@
build()
{
- cd $startdir/pkg
+ cd $pkgdir
mkdir -p bin boot dev etc home lib mnt proc root sbin tmp usr var opt srv sys
chmod 555 proc
mkdir -p media/{fl,cd,dvd}
- mkdir -p usr/{bin,include,lib,sbin,share/misc,src,man}
+ mkdir -p usr/{bin,include,lib,sbin,share/misc,src}
mkdir -p usr/share/man/man{1,2,3,4,5,6,7,8}
- ln -s man3 $startdir/pkg/usr/share/man/man3x
+ ln -s man3 $pkgdir/usr/share/man/man3x
# fhs compliance
mkdir -p usr/local/{bin,games,include,lib,man,sbin,share,src}
- ln -s ../man $startdir/pkg/usr/local/share/man
+ ln -s ../man $pkgdir/usr/local/share/man
mkdir -p var/{cache/man,local,lock,opt,run,spool/mail,tmp,games}
chmod 1777 var/lock
mkdir -p var/log/old
mkdir -p etc/{skel,profile.d}
mkdir -p lib/modules
mkdir -p var/lib/misc
- (cd $startdir/pkg/var; ln -s spool/mail mail)
+ (cd $pkgdir/var; ln -s spool/mail mail)
# vsftpd won't run with write perms on /srv/ftp
mkdir -p srv/ftp
@@ -71,23 +71,23 @@
chmod 0750 root
#Allow setgid games to write scores:
- chmod 775 ${startdir}/pkg/var/games
- chown root:50 ${startdir}/pkg/var/games
+ chmod 775 $pkgdir/var/games
+ chown root:50 $pkgdir/var/games
- cd $startdir/src
+ cd $srcdir
cp fstab crypttab group host.conf hosts issue ld.so.conf motd nsswitch.conf \
passwd protocols resolv.conf securetty services shadow shells profile \
- $startdir/pkg/etc/
- install -m 600 $startdir/src/gshadow $startdir/pkg/etc/gshadow
- chmod 600 $startdir/pkg/etc/shadow
- chmod 600 $startdir/pkg/etc/crypttab
+ $pkgdir/etc/
+ install -m 600 $srcdir/gshadow $pkgdir/etc/gshadow
+ chmod 600 $pkgdir/etc/shadow
+ chmod 600 $pkgdir/etc/crypttab
# no version any more
- #cat issue | sed "s/#VERSION#/$pkgver/" >$startdir/pkg/etc/issue
+ #cat issue | sed "s/#VERSION#/$pkgver/" >$pkgdir/etc/issue
# re-add /etc/arch-release, some software uses it
# to check whether arch is running
- touch $startdir/pkg/etc/arch-release
+ touch $pkgdir/etc/arch-release
# Add /etc/modprobe.d/
install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first \
More information about the arch-commits
mailing list