mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
39 lines
1 KiB
Bash
39 lines
1 KiB
Bash
# $Id: PKGBUILD 141752 2011-11-02 18:12:16Z andrea $
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@plugapps.com>
|
|
# - Added patch to fix building of packages that depend on smokegen
|
|
|
|
plugrel=1
|
|
|
|
pkgname=kdebindings-smokegen
|
|
pkgver=4.7.3
|
|
pkgrel=1
|
|
pkgdesc="A general purpose C++ parser with a plugin infrastructure"
|
|
url="http://kde.org/"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
depends=('kdebase-runtime')
|
|
makedepends=('cmake' 'automoc4')
|
|
conflicts=('kdebindings-smoke')
|
|
source=("http://download.kde.org/stable/${pkgver}/src/smokegen-${pkgver}.tar.bz2"
|
|
"alarm.patch")
|
|
sha1sums=('ede4095fdb190b3bef13b246111e7d79903ad77e'
|
|
'1dd8dff3aa3cd8c6b29be54120060243cdc44277')
|
|
|
|
build() {
|
|
cd "${srcdir}/smokegen-${pkgver}"
|
|
patch -p1 -i ${srcdir}/alarm.patch
|
|
cd "${srcdir}"
|
|
mkdir build
|
|
cd build
|
|
cmake ../smokegen-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|