Commit e339b8e3 authored by Jan Mette's avatar Jan Mette

--no commit message

--no commit message
parent 0fd419ac
......@@ -2,7 +2,7 @@
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=acl
pkgver=2.2.48
pkgrel=2
pkgrel=1
pkgdesc="Library for filesystem ACL support"
arch=('i686' 'x86_64')
url="http://oss.sgi.com/projects/xfs/"
......
......@@ -2,7 +2,7 @@
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=attr
pkgver=2.4.44
pkgrel=2
pkgrel=1
pkgdesc="Extended attribute support library for ACL support"
arch=(i686 x86_64)
url="http://oss.sgi.com/projects/xfs/"
......
......@@ -4,7 +4,7 @@
pkgname=autoconf
pkgver=2.65
pkgrel=3
pkgrel=1
pkgdesc="A GNU tool for automatically configuring source code"
arch=('any')
license=('GPL2' 'GPL3' 'custom')
......@@ -27,6 +27,4 @@ build() {
# conflict with bintuils
rm -f ${pkgdir}/usr/share/info/standards.info
rm -rf $pkgdir/usr/share/info/dir
}
......@@ -4,7 +4,7 @@
pkgname=automake
pkgver=1.11.1
pkgrel=3
pkgrel=1
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=('any')
license=('GPL')
......@@ -20,6 +20,4 @@ build() {
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm -rf $pkgdir/usr/share/info/dir
}
......@@ -4,7 +4,7 @@
pkgname=bash
_patchlevel=002 #prepare for some patches
pkgver=4.1.$_patchlevel
pkgrel=4
pkgrel=2
pkgdesc="The GNU Bourne Again shell"
arch=('i686' 'x86_64')
license=('GPL')
......@@ -52,13 +52,11 @@ build() {
mkdir -p ${pkgdir}/etc/skel/
install -D -m644 ${srcdir}/bashrc ${pkgdir}/etc/skel/.bashrc
echo ". \$HOME/.bashrc" >${pkgdir}/etc/skel/.bash_profile
rm -rf $pkgdir/usr/share/info/dir
}
md5sums=('9800d8724815fd84994d9be65ab5e7b8'
'17f20ec69535a2f50f2112a8c700630d'
'98a1c465933f18c1337d31620523010d'
'3d2837e84645eac9bde399b58014bafa'
'51725defa4c2dec49c1bc15883e0bee2'
'196697769f1667a8a1aed608811129c6'
'582dea5671b557f783e18629c2f77b68'
......
......@@ -2,68 +2,5 @@
# Check for an interactive session
[ -z "$PS1" ] && return
# enable bash completion in interactive shells
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
# add autocompletion for sudo
complete -cf sudo
# options
shopt -s cdspell # autocorrects cd misspellings
shopt -s checkwinsize # update the value of LINES and COLUMNS after each command if altered
shopt -s cmdhist # save multi-line commands in history as single line
shopt -s dotglob # include dotfiles in pathname expansion
shopt -s expand_aliases # expand aliases
shopt -s extglob # enable extended pattern-matching features
shopt -s histappend # append to (not overwrite) the history file
shopt -s hostcomplete # attempt hostname expansion when @ is at the beginning of a word
shopt -s nocaseglob # pathname expansion will be treated as case-insensitive
# exports
export HISTSIZE=10000 # bash history will save N commands
export HISTFILESIZE=${HISTSIZE} # bash will remember N commands
export HISTCONTROL=ignoreboth # ingore duplicates and spaces (ignoreboth, ignoredups, ignorespace)
# aliases
alias ls='ls --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
alias ll='ls -l --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
alias la='ls -la --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
alias l1='ls -1 --group-directories-first --color=auto -F'
alias pacman='sudo pacman'
alias grep='grep --color=tty -d skip'
alias cp="cp -i" # confirm before overwriting something
alias df='df -h' # human-readable sizes
alias free='free -m' # show sizes in MB
alias vp='vim PKGBUILD'
alias vs='vim SPLITBUILD'
alias checkip='wget http://checkip.dyndns.org/ -O - -o /dev/null | cut -d: -f 2 | cut -d\< -f 1'
alias yt='youtube-dl -b -t $1'
# ex - archive extractor
# usage: ex <file>
ex ()
{
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1;;
*.7z) 7z x $1 ;;
*) echo "'$1' cannot be extracted via ex()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
# prompt
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
......@@ -3,7 +3,7 @@
pkgname=bc
pkgver=1.06
pkgrel=8
pkgrel=7
pkgdesc="An arbitrary precision calculator language"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/bc/"
......@@ -28,6 +28,4 @@ build() {
--infodir=/usr/share/info --with-readline || return 1
make LEX="flex -I" || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -rf $pkgdir/usr/share/info/dir
}
......@@ -2,7 +2,7 @@
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=bin86
pkgver=0.16.17
pkgrel=5
pkgrel=4
pkgdesc="A complete 8086 assembler and loader"
arch=(i686 x86_64)
license=('GPL')
......
# $Id: PKGBUILD 61113 2009-12-12 08:21:32Z allan $
# $Id: PKGBUILD 72655 2010-03-19 03:19:22Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# toolchain build order: kernel-headers->glibc->binutils->gcc->binutils->glibc
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
pkgname=binutils
pkgver=2.20
pkgrel=5
_date=20091101
pkgver=2.20.1
pkgrel=1
_date=20100318
pkgdesc="A set of programs to assemble and manipulate binary and object files"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/binutils/"
license=('GPL')
groups=('base')
depends=('glibc>=2.11.1' 'zlib')
depends=('glibc>=2.11.1-2' 'zlib')
options=('!libtool' '!distcc' '!ccache')
install=binutils.install
source=(http://konnektion.ath.cx/sources/core/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
md5sums=('df0781f66c7be07f1d54e79ee61d3b37')
md5sums=('c153213a20a5075bd98d7f12fbd38a51')
mksource() {
mkdir ${pkgname}-${_date}
......@@ -67,6 +67,4 @@ build() {
rm -f ${pkgdir}/usr/lib/lib{bfd,opcodes}.so
echo "INPUT ( /usr/lib/libbfd.a -liberty -lz )" >${pkgdir}/usr/lib/libbfd.so
echo "INPUT ( /usr/lib/libopcodes.a -lbfd )" >${pkgdir}/usr/lib/libopcodes.so
rm -rf $pkgdir/usr/share/info/dir
}
infodir=/usr/share/info
filelist=(as.info bfd.info binutils.info configure.info gprof.info ld.info standards.info)
post_install() {
post_upgrade() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
post_upgrade() {
post_install $1
}
pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
......
2010-03-25 Eric Belanger <eric@archlinux.org>
* bison 2.4.2-1
* Upstream update
* Removed texinfo dependency in install scriptlet
* Updated license
* Added sh depends
2008-12-11 Eric Belanger <eric@archlinux.org>
* bison 2.4.1-1
......
# $Id: PKGBUILD 21374 2008-12-12 10:34:44Z eric $
# $Id: PKGBUILD 73456 2010-03-26 05:54:21Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
pkgname=bison
pkgver=2.4.1
pkgrel=2
pkgver=2.4.2
pkgrel=1
pkgdesc="The GNU general-purpose parser generator"
arch=('i686' 'x86_64')
license=('GPL')
license=('GPL3')
url="http://www.gnu.org/software/bison/bison.html"
depends=('glibc' 'm4' 'texinfo')
depends=('glibc' 'm4' 'sh')
groups=('base-devel')
install=bison.install
source=(ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.gz)
md5sums=('c58aa1da418dc9704070872489e89bf5')
sha1sums=('ecc4139bbd45b73f42f2b04482d77c16534fea28')
source=(ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.bz2)
md5sums=('63584004613aaef2d3dca19088eb1654')
sha1sums=('4e2c4b40a248748989b3fe7f0d89022ea11a8d6f')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --datadir=/usr/share || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm ${pkgdir}/usr/share/info/dir || return 1
gzip ${pkgdir}/usr/share/info/* || return 1
make DESTDIR="${pkgdir}" install || return 1
}
infodir=/usr/share/info
filelist=(bison.info.gz)
file=bison.info.gz
post_install() {
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
[ -x usr/bin/install-info ] || return 0
install-info $infodir/$file $infodir/dir 2> /dev/null
}
post_upgrade() {
......@@ -12,7 +11,6 @@ post_upgrade() {
}
pre_remove() {
for file in ${filelist[@]}; do
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
done
[ -x usr/bin/install-info ] || return 0
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
}
......@@ -7,7 +7,7 @@
pkgname=boost
pkgver=1.41.0
_boostver=1_41_0
pkgrel=2
pkgrel=1
pkgdesc="Free peer-reviewed portable C++ source libraries"
arch=('i686' 'x86_64')
url="http://www.boost.org/"
......@@ -18,7 +18,7 @@ source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_${_bo
fix-gzip-crc.patch
serialization_fix.patch)
license=('custom')
options=('!ccache')
options=('!ccache' 'force')
build() {
cd "${srcdir}/${pkgname}_${_boostver}"
......
......@@ -3,7 +3,7 @@
# Contributor: Judd Vinet <judd@archlinux.org>
pkgname=bridge-utils
pkgver=1.4
pkgrel=3
pkgrel=2
pkgdesc="Layer2 ethernet bridging for Linux"
arch=(i686 x86_64)
url="http://www.linuxfoundation.org/en/Net:Bridge"
......@@ -24,6 +24,3 @@ build() {
# install config file
install -D -m644 ../bridges.conf.d $startdir/pkg/etc/conf.d/bridges
}
md5sums=('0182fcac3a2b307113bbec34e5f1c673'
'f5d691282653580dd5fd4a1092ef365b')
\ No newline at end of file
......@@ -4,7 +4,7 @@
pkgname=bzip2
pkgver=1.0.5
pkgrel=6
pkgrel=5
pkgdesc="A high-quality data compression program"
arch=('i686' 'x86_64')
license=('custom')
......
......@@ -3,7 +3,7 @@
pkgname=ca-certificates
pkgver=20090814
pkgrel=3
pkgrel=2
pkgdesc='Common CA certificates'
arch=('any')
url='http://packages.qa.debian.org/c/ca-certificates.html'
......
# $Id: $
# $Id: PKGBUILD 72643 2010-03-19 03:05:11Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: ezzetabi <ezzetabi at gawab dot com>
pkgname=cloog-ppl
pkgver=0.15.7
pkgrel=3
pkgver=0.15.8
pkgrel=1
pkgdesc="Library that generates loops for scanning polyhedra"
arch=('i686' 'x86_64')
url="http://www.cloog.org/"
license=('GPL')
depends=('ppl>=0.10.2')
depends=('ppl>=0.10.2-3')
options=('!libtool')
source=(ftp://gcc.gnu.org/pub/gcc/infrastructure/${pkgname}-${pkgver}.tar.gz)
md5sums=('6455e7875daac5bd885545c71c3f2001')
md5sums=('b27bc188e3e99dca2923ce9323b8fb63')
build() {
cd $srcdir/$pkgname-$pkgver
......@@ -20,7 +20,6 @@ build() {
./configure --prefix=/usr --infodir=/usr/share/info \
--with-bits=gmp --with-ppl=/usr
make || return 1
make check
make DESTDIR=$pkgdir/ install
rm -rf $pkgdir/usr/share/info/dir
}
# $Id: PKGBUILD 59376 2009-11-22 21:18:19Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
# $Id: PKGBUILD 73375 2010-03-25 12:23:27Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Contributor: damir <damir@archlinux.org>
# Contributor: Konstantinos Pachnis <kpachnis@mes-direct.com>
pkgname=cmake
pkgver=2.8.0
pkgrel=2
pkgver=2.8.1
pkgrel=1
pkgdesc="A cross-platform open-source make system"
arch=('i686' 'x86_64')
license=('custom')
url="http://www.cmake.org"
depends=('expat' 'curl' 'gcc-libs' 'shared-mime-info')
#makedepends=('qt')
#optdepends=('qt: cmake-gui')
install=cmake.install
source=("http://www.cmake.org/files/v2.8/$pkgname-$pkgver.tar.gz")
md5sums=('3b3679b8a6afaedc38a8c15dd7ff4fcf')
makedepends=('qt')
optdepends=('qt: cmake-gui')
install=${pkgname}.install
source=("http://www.cmake.org/files/v2.8/${pkgname}-${pkgver}.tar.gz")
md5sums=('a92ad653f9ccc1595d16cd9707f49acc')
build() {
cd $srcdir/$pkgname-$pkgver
......@@ -23,16 +24,18 @@ build() {
--mandir=/share/man \
--docdir=/share/doc/cmake \
--system-libs \
--qt-gui \
--parallel=2
#--qt-gui \
make || return 1
make DESTDIR=$pkgdir install
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
vimpath="$pkgdir/usr/share/vim/vim72"
install -D -m644 Docs/cmake-indent.vim $vimpath/indent/cmake-indent.vim
install -D -m644 Docs/cmake-syntax.vim $vimpath/syntax/cmake-syntax.vim
install -D -m644 Docs/cmake-mode.el $pkgdir/usr/share/emacs/site-lisp/cmake-mode.el
install -D -m644 Copyright.txt $pkgdir/usr/share/licenses/$pkgname/Copyright.txt
install -Dm644 Docs/cmake-indent.vim $vimpath/indent/cmake-indent.vim
install -Dm644 Docs/cmake-syntax.vim $vimpath/syntax/cmake-syntax.vim
install -Dm644 Docs/cmake-mode.el $pkgdir/usr/share/emacs/site-lisp/cmake-mode.el
install -Dm644 Copyright.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
# $Id: PKGBUILD 63089 2010-01-14 14:58:02Z allan $
# $Id: PKGBUILD 72649 2010-03-19 03:09:56Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=coreutils
pkgver=8.4
pkgrel=3
pkgrel=2
pkgdesc="The basic file, shell and text manipulation utilities of the GNU operating system"
arch=('i686' 'x86_64')
license=('GPL3')
url="http://www.gnu.org/software/coreutils"
groups=('base')
depends=('glibc' 'shadow' 'pam' 'acl' 'gmp' 'libcap')
depends=('glibc' 'shadow' 'pam' 'acl' 'gmp>=5.0' 'libcap')
provides=('mktemp')
conflicts=('mktemp')
replaces=('sh-utils' 'fileutils' 'textutils' 'mktemp')
......@@ -22,14 +22,12 @@ source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
coreutils-uname.patch
coreutils-pam.patch
coreutils-6.10-configuration.patch
advcopy-0.2b-8.4.patch
su)
md5sums=('56f549854d723d9dcebb77919019df55'
'f88e6b4ce09e6d453f595d46d2a153b2'
'c4fcca138b6abf6d443d48a6f0cd8833'
'7efee4d5b3653711f9e229493316841c'
'dd4f472de8380104af3ac0ef920fae8b'
'57e881e7968d6747dba774128a830350'
'fa85e5cce5d723275b14365ba71a8aad')
build() {
......@@ -39,7 +37,6 @@ build() {
patch -Np1 -i $srcdir/coreutils-pam.patch || return 1
patch -Np1 -i $srcdir/coreutils-i18n.patch || return 1
patch -Np1 -i $srcdir/coreutils-6.10-configuration.patch || return 1
patch -Np1 -i $srcdir/advcopy-0.2b-8.4.patch || return 1
# from gentoo portage
patch -Np1 -i $srcdir/coreutils-uname.patch || return 1
......@@ -74,6 +71,4 @@ build() {
mv chroot $pkgdir/usr/sbin
ln -sf test [
install -Dm644 $srcdir/su ${pkgdir}/etc/pam.d/su
rm -rf $pkgdir/usr/share/info/dir
}
......@@ -2,7 +2,7 @@
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=cpio
pkgver=2.10
pkgrel=2
pkgrel=1
pkgdesc="A tool to copy files into or out of a cpio or tar archive"
arch=(i686 x86_64)
license=('GPL')
......
......@@ -4,7 +4,7 @@
pkgname=cracklib
pkgver=2.8.13
pkgrel=3
pkgrel=2
pkgdesc="Password Checking Library"
arch=(i686 x86_64)
license=('GPL')
......
......@@ -3,7 +3,7 @@
pkgname=crda
pkgver=1.1.0
pkgrel=2
pkgrel=1
pkgdesc="Central Regulatory Domain Agent"
arch=(i686 x86_64)
url="http://wireless.kernel.org/en/developers/Regulatory/CRDA"
......
......@@ -2,7 +2,7 @@
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=cryptsetup
pkgver=1.1.0
pkgrel=3
pkgrel=2
pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi"
arch=(i686 x86_64)
license=('GPL')
......
# $Id: PKGBUILD 67948 2010-02-09 21:53:33Z eric $
# $Id: PKGBUILD 75217 2010-04-01 02:35:37Z pierre $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
pkgname=curl
pkgver=7.20.0
pkgrel=3
pkgrel=2
pkgdesc="An URL retrival utility and library"
arch=('i686' 'x86_64')
url="http://curl.haxx.se"
license=('MIT')
depends=('zlib' 'openssl>=0.9.8b' 'bash' 'ca-certificates')
depends=('zlib' 'openssl' 'bash' 'ca-certificates')
options=('!libtool')
source=(http://curl.haxx.se/download/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3dda78c4a808d9a779dc3a2ae81b47d8')
......@@ -30,6 +30,10 @@ build() {
--with-ca-path=/etc/ssl/certs \
--without-libidn || return 1
make || return 1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install || return 1
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" || return 1
install -D -m644 docs/libcurl/libcurl.m4 "${pkgdir}/usr/share/aclocal/libcurl.m4" || return 1
......
......@@ -5,7 +5,7 @@
pkgname=db
pkgver=4.8.26
_basever=4.8.26
pkgrel=2
pkgrel=1
pkgdesc="The Berkeley DB embedded database system"
arch=('i686' 'x86_64')
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
......
......@@ -2,7 +2,7 @@
pkgname=dcron
pkgver=4.4
pkgrel=3
pkgrel=2
pkgdesc="dillon's lightweight cron daemon"
arch=(i686 x86_64)
license=('GPL')
......
......@@ -5,7 +5,7 @@
pkgname=dhcpcd
pkgver=5.2.1
pkgrel=2
pkgrel=1
pkgdesc="RFC2131 compliant DHCP client daemon"
url="http://roy.marples.name/dhcpcd/"
arch=('i686' 'x86_64')
......
......@@ -5,7 +5,7 @@
pkgname=dialog
pkgver=1.1_20100119
_pkgver=1.1-20100119
pkgrel=2
pkgrel=1
pkgdesc="A tool to display dialog boxes from shell scripts"
arch=('i686' 'x86_64')
url="http://invisible-island.net/dialog/"
......@@ -13,7 +13,7 @@ license=('GPL')
groups=('base')
depends=('ncurses>=5.6-8')
source=(ftp://invisible-island.net/${pkgname}/${pkgname}-$_pkgver.tgz)
md5sums=('3d62219658fdddf3c6247fb45831a5d0')
md5sums=('ada629276646b462aaab1e734f626eb6')
build() {
cd ${srcdir}/$pkgname-$_pkgver
......
......@@ -4,7 +4,7 @@
pkgname=diffutils
pkgver=2.9
pkgrel=3
pkgrel=1
pkgdesc="Utility programs used for creating patch files"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/diffutils"
......@@ -24,6 +24,4 @@ build() {
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
rm -rf $pkgdir/usr/share/info/dir
}
# $Id: PKGBUILD 67479 2010-02-07 10:49:10Z thomas $
# $Id: PKGBUILD 72536 2010-03-18 08:59:58Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
#Contributor: Urs Wolfer <uwolfer @ fwo.ch>
......@@ -8,7 +8,6 @@ pkgrel=3
pkgdesc="Device mapper RAID interface"
url="http://people.redhat.com/~heinzm/sw/dmraid/"
depends=('device-mapper>=2.0.54')
conflicts=('mkinitcpio<0.5.99')
arch=('i686' 'x86_64')
license=('GPL')
source=(http://people.redhat.com/~heinzm/sw/dmraid/src/$pkgname-$pkgver.tar.bz2
......@@ -16,12 +15,20 @@ source=(http://people.redhat.com/~heinzm/sw/dmraid/src/$pkgname-$pkgver.tar.bz2
dmraid_hook)
install=dmraid.install
md5sums=('32832c1dfd7e72cd4355490322fca68a'
'b86ad3587cadd711b356d6ab49bdaf8d'
'72b9ea8cf90fb8b6a3f3147fb7777fb4'
'b1fcca57a711be68b57c5ec8614d87cb')
build() {
cd $srcdir/$pkgname/$pkgver
./configure
# create static bin
./configure --enable-static_link --prefix=/usr --enable-led --enable-intel_led
make || return 1
make DESTDIR=$pkgdir exec_prefix=$pkgdir/usr install
mv $pkgdir/usr/sbin/dmraid $pkgdir/usr/sbin/dmraid.static
make clean
./configure --enable-led --enable-intel_led
make || return 1
make DESTDIR=$pkgdir exec_prefix=$pkgdir/ mandir=$pkgdir/usr/share/man includedir=$pkgdir/usr/include install || return 1
mkdir -p $pkgdir/var/lock/dmraid
......
......@@ -3,10 +3,12 @@
install ()
{
MODULES=" dm-mod dm-mirror "
BINARIES="dmraid dmsetup"
BINARIES="dmsetup"
FILES=""
SCRIPT="dmraid"
add_file "/usr/sbin/dmraid.static" "/sbin/dmraid"
add_dir "/dev/mapper"
add_binary "/lib/libdmraid-events-isw.so"
add_file "/lib/udev/rules.d/10-dm.rules"
add_file "/lib/udev/rules.d/13-dm-disk.rules"
add_file "/lib/udev/rules.d/95-dm-notify.rules"
......
# $Id: PKGBUILD 46687 2009-07-19 16:41:59Z kevin $
# $Id: PKGBUILD 75202 2010-04-01 02:17:43Z pierre $
# Maintainer: kevin <kevin@archlinux.org>
# Contributor: mario <mario_vazq@hotmail.com>
pkgname=dnsutils