updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / repo-clean-xz / PKGBUILD
blobedd06b2a93c8ab79fdf3213f9bdd99668e54573b
1 # Contributor: Andrey Demidov <andrey.demidov@gmail.com>
2 pkgname=repo-clean-xz
3 pkgver=0.1.3
4 pkgrel=1
5 pkgdesc="Clean utility for Pacman repository (with xz patch)"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/repo-clean/"
8 license=('GPL')
9 depends=('pacman' 'boost') 
10 makedepends=('scons>=0.98' 'gcc')
11 provides=('repo-clean')
12 replaces=('repo-clean')
13 conflicts=('repo-clean')
14 source=(http://repo-clean.googlecode.com/files/repo-clean-$pkgver.tar.gz
15             repo_clean_xz_20110410.patch)
17 md5sums=('e568bc42e854b262256ad60caec52a52'
18          'b0f9be438cf51938bf3e7357ac5a12a0')
19 build() {
20   mkdir $pkgdir/usr
21   cd "$srcdir/repo-clean-$pkgver"
22   patch -p1 -i $srcdir/repo_clean_xz_20110410.patch || return 1
23   cd "$srcdir/repo-clean-$pkgver"
24   scons || return 1
25   cp -rf dist/* $pkgdir/usr || return 1