core/repo-clean/PKGBUILD
2010-05-16 15:08:55 +00:00

31 lines
867 B
Bash

#
# KDEmod, modular KDE packages for Arch Linux, part of chakra-project.org
#
# maintainer (i686): Jan Mette (funkyou) <funkyou @ kdemod.ath.cx>
# maintainer (x86_64): Martin Sandsmark (PhinnFort) <sandsmark @ kdemod.ath.cx>
# Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
pkgname=repo-clean
pkgver=0.1.4
pkgrel=2
pkgdesc="Clean utility for Pacman repository"
arch=('i686' 'x86_64')
url="http://code.google.com/p/repo-clean/"
license=('GPL')
depends=('pacman' 'boost')
makedepends=('cmake' 'gcc')
source=(http://chakra-project.org/source/$pkgname-$pkgver.tar.bz2
repo_clean_xz.patch)
md5sums=('a133d3cc8d740e8a2f78e958e10b117c'
'b1ca28279da1bbe35b887b2ef2ad2305')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np1 -i $startdir/repo_clean_xz.patch || return 1
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
make DESTDIR=$pkgdir install
}