updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / dobeedo / PKGBUILD
blob28036ba368874679aadaf749160f80f6acbcbf6b
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=dobeedo
4 pkgver=0.3.0
5 pkgrel=2
6 pkgdesc="A todo list manager for KDE that tries to be easy and fast to use"
7 arch=('i686' 'x86_64')
8 url="http://kde-apps.org/content/show.php/DoBeeDo?content=123338"
9 license=('GPL')
10 depends=('kdebase-runtime' 'hicolor-icon-theme')
11 makedepends=('cmake' 'wget' 'automoc4')
12 #source=("http://github.com/downloads/Fxrh/DoBeeDo/DoBeeDo-${pkgver}.tar.gz")
13 #md5sums=('a436b8b197875bb697858e3494af42a8')
15 build() {
16   # need this because of a bug in wget
17   wget https://github.com/downloads/Fxrh/DoBeeDo/DoBeeDo-${pkgver}.tar.gz --no-check-certificate || return 1
18   tar xzf DoBeeDo-${pkgver}.tar.gz -C ${srcdir}/ || return 1
20   cd ${srcdir}/DoBeeDo-${pkgver}
21   mkdir -p build
22   cd build
23   cmake ../ \
24     -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
25     -DCMAKE_BUILD_TYPE=Release
26   make || return 1
29 package() {
30   cd ${srcdir}/DoBeeDo-${pkgver}/build
31   make DESTDIR=${pkgdir} install || return 1
32