updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / kfuseiso / PKGBUILD
blob531f25c32d290aa5debd32d2b702c80c333401c4
1 # Maintainer: Pilli <elpilli@gmail.com>
3 pkgname="kfuseiso"
4 pkgver=20090816
5 pkgrel=1
6 pkgdesc="Small set of modules to help access ISO image files"
7 arch=('i686' 'x86_64')
8 license=("GPL")
9 url="http://kde-apps.org/content/show.php/kfuseiso?content=110509"
10 depends=('kdebase-lib' 'kdebase-runtime' 'fuseiso')
11 makedepends=('cmake' 'automoc4')
12 source=("http://kde-apps.org/CONTENT/content-files/110509-${pkgname}-${pkgver}.tar.gz")
13 md5sums=('da5a7d27857f31f1fac610df081fd60c')
15 build() {
16   if [[ -d "${srcdir}/${pkgname}-${pkgver}/build" ]]; then
17     msg2 "Cleaning the previous build directory..."
18     rm -rf "${srcdir}/${pkgname}-${pkgver}/build"
19   fi
20   mkdir -p "${srcdir}/${pkgname}-${pkgver}/build"
21   cd "${srcdir}/${pkgname}-${pkgver}/build"
22   cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
23   make  
26 package() {
27   cd "${srcdir}/${pkgname}-${pkgver}/build"
28   make DESTDIR=${pkgdir} install