updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / apper / PKGBUILD
blob7d4e1a895b70b77cb4d2985b0875be4dd45c1b80
1 # Maintainer; BlackEagle < ike DOT devolder AT gmail DOT com >
2 # Contributor: Valeriy Lyasotskiy <onestep@ukr.net>
3 # Contributor: Zom <zom@eevul.org>
5 pkgname=apper
6 pkgver=0.7.0
7 pkgrel=2
8 pkgdesc="KDE tools for PackageKit"
9 arch=('i686' 'x86_64')
10 url="http://kde-apps.org/content/show.php/Apper?content=84745"
11 license=('GPL')
12 depends=('kdebase-workspace' 'packagekit-qt2>=0.6.11')
13 makedepends=('cmake' 'automoc4')
14 provides=('kpackagekit')
15 conflicts=('kpackagekit')
16 replaces=('kpackagekit')
17 #source=("http://kde-apps.org/CONTENT/content-files/84745-${pkgname}-${pkgver}.tar.bz2")
18 #source=("http://dl.dropbox.com/u/37314029/${pkgname}-${pkgver}.tar.bz2")
19 source=("http://herecura.be/archlinux/${pkgname}-${pkgver}.tar.bz2")
20 sha256sums=('4cf442a4f6e36c88f058c5bc9d782c404873950591205aa0043b1358a123f8cb')
22 build() {
23         cd ${pkgname}-${pkgver}
24         [ -d "build" ] && rm -rf build
25         mkdir build
26         cd build
28         cmake ../ \
29                 -DCMAKE_BUILD_TYPE=Release \
30                 -DCMAKE_INSTALL_PREFIX=/usr
31         make
34 package() {
35         cd ${pkgname}-${pkgver}
36         cd build
37         make DESTDIR=${pkgdir} install