updated on Wed Jan 18 16:10:53 UTC 2012
[aur-mirror.git] / kdesudo / PKGBUILD
blobff7012ef0add346a3a5f252877ddf70c7a8cdde4
1 # Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
3 basename=sudo
4 pkgname=kde${basename}
5 pkgver=3.4.2.4
6 pkgrel=1
7 pkgdesc="A SUdo frontend for KDE"
8 arch=("i686" "x86_64")
9 url="https://launchpad.net/${pkgname}"
10 license=("GPL")
11 depends=("kdelibs" "${basename}")
12 makedepends=("cmake" "automoc4")
13 options=(!emptydirs)
14 source=(http://launchpad.net/${pkgname}/3.x/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
16 build() {
17         cd "${srcdir}"/${pkgname}-${pkgver}
19         # Config
20         sed -i "s|ADD_SUBDIRECTORY(en)|#ADD_SUBDIRECTORY(en)|g" doc/CMakeLists.txt
22         cmake . -DCMAKE_INSTALL_PREFIX=/usr
23         make
26 package() {
27         cd "${srcdir}"/${pkgname}-${pkgver}
29         make DESTDIR="${pkgdir}" install
32 sha1sums=('4821552c6ce32e9ce92bc054a1963a1e96bf5185')