summaryrefslogtreecommitdiff
path: root/community/sdd/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/sdd/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/sdd/PKGBUILD')
-rw-r--r--community/sdd/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/sdd/PKGBUILD b/community/sdd/PKGBUILD
new file mode 100644
index 000000000..d49f44605
--- /dev/null
+++ b/community/sdd/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 65431 2012-02-21 05:44:16Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=sdd
+pkgver=1.52
+pkgrel=7
+pkgdesc="Faster replacement for a program called dd"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://freshmeat.net/projects/sdd/"
+source=(ftp://ftp.berlios.de/pub/sdd/sdd-$pkgver.tar.gz
+ build-fix.patch)
+options=(!emptydirs)
+md5sums=('efb6f2d8a39080c8ad085211e01293d6'
+ '3c7af325869c648be045f7c86431200c')
+
+build() {
+ cd $srcdir/$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
+ patch -p1 <$srcdir/build-fix.patch
+ make
+ make INS_BASE=$pkgdir/usr install
+ mkdir -p $pkgdir/usr/share/man
+ rm -rf $pkgdir/usr/include/ \
+ $pkgdir/usr/lib/ \
+ $pkgdir/usr/man/man3/ \
+ $pkgdir/usr/man/man5/
+ mv $pkgdir/usr/man/* $pkgdir/usr/share/man/
+ chown -R root.root $pkgdir
+}