desktop/rcconf-settings/PKGBUILD
2012-03-06 09:59:48 +00:00

35 lines
956 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.7
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'
options=('sign')
depends=('qt' 'kdebase-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=$startdir/pkg install
}