desktop/rcconf-settings/PKGBUILD
2011-03-31 22:25:46 +00:00

34 lines
932 B
Bash

# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=rcconf-settings
pkgver=0.5
pkgrel=1
pkgdesc='A KCM for manage the Rc.conf file for Chakra GNU/Linux'
arch=('i686' 'x86_64')
license=('GPL')
url='http://gitorious.org/chakra/rcconf-settings'
groups=('base')
options=('sign')
depends=('qt' 'kdebase-workspace')
makedepends=('automoc4')
source=("http://chakra-project.org/sources/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('d4e2094c634a0d404b1870b40bf69f0d')
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=$startdir/pkg install
}