mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 05:14:36 +08:00
43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
|
#
|
|||
|
# KDE SC Packages for Chakra, part of chakra-project.org
|
|||
|
#
|
|||
|
# maintainer: Giuseppe Cal<61> <jiveaxe@gmail.com>
|
|||
|
|
|||
|
pkgname=apper
|
|||
|
pkgver=0.7.1
|
|||
|
pkgrel=2
|
|||
|
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')
|
|||
|
conflicts=('kpackagekit')
|
|||
|
replaces=('kpackagekit')
|
|||
|
source=("https://launchpad.net/${pkgname}/0.7/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2"
|
|||
|
"remove-unavailable-groups.patch")
|
|||
|
sha256sums=('d604e766c788ed26d5e352b7e97477ba58d6fe9e41db0c2649a2a39460bcab98'
|
|||
|
'414013e596e6bac17d1d08afb56f473c9a8a8b714efbf644d0dd70575e9c3a1f')
|
|||
|
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
|
|||
|
|
|||
|
[ -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
|
|||
|
}
|