desktop/rcconf-settings/PKGBUILD
2013-08-05 07:18:41 +02:00

34 lines
865 B
Bash

# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=rcconf-settings
pkgver=0.7
pkgrel=1
pkgdesc='A KCM for manage the Rc.conf file for Chakra GNU/Linux'
arch=('x86_64')
license=('GPL')
url='http://gitorious.org/chakra/rcconf-settings'
options=('sign')
depends=('qt' 'kde-workspace')
makedepends=('automoc4')
categories=('system')
install=('install')
source=("http://chakra-linux.org/sources/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('bf1a3248e3dc03fdf228430eda986316')
build() {
cd "${srcdir}/$pkgname-$pkgver"
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make
}
package() {
cd "${srcdir}/$pkgname-$pkgver"
make DESTDIR=${pkgdir} install
}