summaryrefslogtreecommitdiff
path: root/community/bsdiff/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/bsdiff/PKGBUILD')
-rw-r--r--community/bsdiff/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/bsdiff/PKGBUILD b/community/bsdiff/PKGBUILD
new file mode 100644
index 000000000..64d63ddf2
--- /dev/null
+++ b/community/bsdiff/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 30610 2010-10-19 12:42:03Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=bsdiff
+pkgver=4.3
+pkgrel=6
+pkgdesc="bsdiff and bspatch are tools for building and applying patches to binary files."
+url="http://www.daemonology.net/bsdiff/"
+license=('BSD')
+arch=('i686' 'x86_64')
+depends=('bzip2')
+source=(http://www.daemonology.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ Makefile.patch)
+md5sums=('e6d812394f0e0ecc8d5df255aa1db22a'
+ '87ec6120b2e2d38da5a67821af6ac356')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -p0 < ../Makefile.patch
+ make
+ make PREFIX=${pkgdir}/usr install
+ mkdir -p $pkgdir/usr/share
+ mv ${pkgdir}/usr/man ${pkgdir}/usr/share/man/
+}