desktop/apper/PKGBUILD

47 lines
1.4 KiB
Bash
Raw Normal View History

2013-12-18 02:41:12 +08:00
# Maintainer: Giuseppe Cal<61> <jiveaxe@gmail.com>
2012-03-01 03:01:42 +08:00
pkgname=apper
2012-05-22 10:26:05 +08:00
pkgver=0.7.2
pkgrel=1
2012-03-01 03:01:42 +08:00
pkgdesc="KDE tools for PackageKit"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/Apper?content=84745"
license=('GPL')
depends=('kde-workspace' 'packagekit-qt2>=0.6.11')
makedepends=('cmake' 'automoc4' 'docbook-xml' 'docbook-xsl')
provides=('kpackagekit' 'appset-qt')
conflicts=('kpackagekit' 'appset-qt')
replaces=('kpackagekit' 'appset-qt')
2012-03-06 17:59:48 +08:00
categories=('system')
install='apper.install'
2012-05-22 10:26:05 +08:00
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
"remove-unavailable-groups.patch"
"hide-showOriginCB.patch")
2012-05-23 07:09:50 +08:00
sha256sums=('975fede728e7ab96d8e244ae721a2e15ae40b9fb1cd189a1f4afd46c400b219f'
'414013e596e6bac17d1d08afb56f473c9a8a8b714efbf644d0dd70575e9c3a1f'
'eb77e20e5ca52d03aef83889def774e370a192b20e82b0d6497dfcba1b61b00e')
2012-03-01 03:01:42 +08:00
screenshot=('http://kde-apps.org/CONTENT/content-pre1/84745-1.png')
build() {
cd ${pkgname}-${pkgver}
# Remove unavailable groups
patch -Np1 -i ../remove-unavailable-groups.patch
# Hide showOriginCB
patch -Np1 -i ../hide-showOriginCB.patch
2012-03-01 03:01:42 +08:00
[ -d "build" ] && rm -rf build
mkdir build
cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd ${pkgname}-${pkgver}
cd build
make DESTDIR=${pkgdir} install
}