summaryrefslogtreecommitdiffstats
path: root/zsh/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-19 15:57:49 +0100
committerLukc <lukc@upyum.com>2010-12-19 15:57:49 +0100
commit432ec0174d51734ccfd8e614ccaf8435cdf9fa17 (patch)
treec26c2e213b3b33ab1dd5422470885141705eaae7 /zsh/Pkgfile
parent40a209622a48332cc2de9b15dbc13ad33ec5202e (diff)
downloadbase-432ec0174d51734ccfd8e614ccaf8435cdf9fa17.tar.gz
base-432ec0174d51734ccfd8e614ccaf8435cdf9fa17.tar.bz2
base-432ec0174d51734ccfd8e614ccaf8435cdf9fa17.tar.xz
base-432ec0174d51734ccfd8e614ccaf8435cdf9fa17.zip
Recette de zsh ajoutée. o/
Diffstat (limited to 'zsh/Pkgfile')
-rw-r--r--zsh/Pkgfile40
1 files changed, 40 insertions, 0 deletions
diff --git a/zsh/Pkgfile b/zsh/Pkgfile
new file mode 100644
index 0000000..aba64ec
--- /dev/null
+++ b/zsh/Pkgfile
@@ -0,0 +1,40 @@
+description="Very powerfull shell, the Z SHell."
+packager="Tilman Sauerbeck <tilman AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://www.zsh.org"
+depends=(libpcre)
+
+name=zsh
+version=4.3.10
+release=2
+source=(
+ http://www.zsh.org/pub/$name-$version.tar.bz2
+ zsh-lovers.1
+)
+build ()
+{
+ cd $name-$version;
+ ./configure \
+ --prefix=$prefix \
+ --bindir=${bindir/$prefix} \
+ --libdir=$libdir \
+ --mandir=$mandir \
+ --enable-etcdir=$sysconfdir/zsh \
+ --enable-zshrc=$sysconfdir/zshrc \
+ --enable-zshlogin=$sysconfdir/zsh/zshlogin \
+ --enable-zshenv=$sysconfdir/zsh/zshenv \
+ --enable-fndir=$sharedir/zsh/$version/functions \
+ --enable-site-fndir=$sharedir/zsh/site-functions \
+ --enable-zsh-mem \
+ --enable-maildir-support \
+ --enable-function-subdirs \
+ --enable-pcre \
+ --enable-restricted-r \
+ --enable-lfs \
+ --enable-cap \
+ --with-curses-terminfo;
+ make;
+ make DESTDIR=$PKG install;
+ install -m 644 $SRC/zsh-lovers.1 $PKG$mandir/man1/;
+ rm $PKG$sharedir/zsh/$version/functions/Completion/Unix/_pkg{add,rm,info}
+}