updated on Fri Jan 13 00:14:41 UTC 2012
[aur-mirror.git] / msrp / PKGBUILD
blob8a27d2ba369241a5ccfeb8bc32fa80c8e082849a
1 # Contributor: mosra <mosra@centrum.cz>
3 pkgname=msrp
4 pkgver=0.9.4
5 pkgrel=2
6 pkgdesc="Meta search and replace tool for both filenames and files"
7 arch=('i686' 'x86_64')
8 url="http://agateau.wordpress.com/2010/03/10/msrp-a-useful-addition-to-your-toolbo/"
9 license=("unknown")
10 groups=()
11 depends=()
12 makedepends=()
13 optdepends=()
14 provides=()
15 conflicts=()
16 replaces=()
17 backup=()
18 options=()
19 install=
20 source=(
21     "http://ftp.de.debian.org/debian/pool/main/m/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz"
22     "${pkgname}-${pkgver}-0001-git-support.diff"
23     "${pkgname}-${pkgver}-0002-bzr-support.diff"
25 noextract=()
26 md5sums=('cc327c68f89bbf2466b167371fc34213'
27          '9b7cf87f7b05b18cca527b353410b0be'
28          '22c98a07639a8701c571226a42093c7c')
30 build() {
31     cd "$srcdir/$pkgname-$pkgver"
33     # patch for GIT and Bazaar support
34     patch -p1 < "$srcdir/msrp-0.9.4-0001-git-support.diff"
35     patch -p1 < "$srcdir/msrp-0.9.4-0002-bzr-support.diff"
37     ./configure --prefix=/usr
38     make || return 1
39     make DESTDIR="$pkgdir/" install