mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
30 lines
976 B
Bash
30 lines
976 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
|
||
|
pkgname=sdd
|
||
|
pkgver=1.52
|
||
|
pkgrel=4
|
||
|
pkgdesc="Faster replacement for a program called dd"
|
||
|
arch=('i686' 'x86_64')
|
||
|
license=('GPL')
|
||
|
url="http://freshmeat.net/projects/sdd/"
|
||
|
source=(http://freshmeat.net/redir/sdd/14849/url_tgz/${pkgname}-${pkgver}.tar.gz)
|
||
|
md5sums=('efb6f2d8a39080c8ad085211e01293d6')
|
||
|
|
||
|
build() {
|
||
|
cd ${startdir}/src/$pkgname-${pkgver}
|
||
|
if [ $CARCH = "x86_64" ]; then
|
||
|
cp RULES/i686-linux-cc.rul RULES/x86_64-linux-cc.rul
|
||
|
cp RULES/i686-linux-gcc.rul RULES/x86_64-linux-gcc.rul
|
||
|
fi
|
||
|
make || return 1
|
||
|
make INS_BASE=$startdir/pkg/usr install
|
||
|
rm -f $startdir/pkg/usr/include/align.h \
|
||
|
$startdir/pkg/usr/include/avoffset.h \
|
||
|
$startdir/pkg/usr/lib/libschily.a \
|
||
|
$startdir/pkg/usr/man/man5/makefiles.5* \
|
||
|
$startdir/pkg/usr/man/man5/makerules.5*
|
||
|
mv $startdir/pkg/usr/man $startdir/pkg/usr/share
|
||
|
chown -R root.root $startdir/pkg
|
||
|
}
|