Commit fa73cbf6 authored by Jan Mette's avatar Jan Mette

--no commit message

--no commit message
parent d3c2da09
#
# 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=1
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')
md5sums=('c457e8c37f98e4e9759e410230c028a3')
source=(http://konnektion.ath.cx/source/$pkgname/$pkgname-$pkgver.tar.bz2)
build() {
cd $srcdir/$pkgname-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
make DESTDIR=$pkgdir install
}
......@@ -23,7 +23,7 @@ sync_up()
# move new packages from $ROOT/repos/$REPO/build into thr repo dir
title2 "adding new packages"
mv -v _repo/build/*.pkg.tar.gz _repo/repo/
mv -v _repo/build/*.pkg.* _repo/repo/
# run repo-clean on it
title2 "running repo-clean"
......@@ -33,7 +33,7 @@ sync_up()
title2 "creating pacman database"
rm -rf _repo/repo/*.db.tar.gz
pushd _repo/repo/
repo-add $_pkgprefix-$_cur_repo.db.tar.gz *.pkg.tar.gz
repo-add $_cur_repo.db.tar.gz *.pkg.*
popd
# sync local -> server
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment