diff options
author | root <root@rshg054.dnsready.net> | 2011-11-13 23:14:59 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-13 23:14:59 +0000 |
commit | 600d5378dadf22b8517d52ac19500594bce4b66d (patch) | |
tree | 0bd8bd6283e1aa90b77ad8dba0aa0f258e41a957 /community/tora/PKGBUILD | |
parent | 559f8739357af66f22f2259e84b21c76b3a66205 (diff) |
Sun Nov 13 23:14:59 UTC 2011
Diffstat (limited to 'community/tora/PKGBUILD')
-rw-r--r-- | community/tora/PKGBUILD | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/community/tora/PKGBUILD b/community/tora/PKGBUILD index de4385053..49b8e64fa 100644 --- a/community/tora/PKGBUILD +++ b/community/tora/PKGBUILD @@ -1,11 +1,12 @@ -# $Id: PKGBUILD 44359 2011-04-06 09:51:56Z jelle $ +# $Id: PKGBUILD 58339 2011-11-12 08:18:18Z andrea $ # Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Stefan Husmann <stefan-husmann@t-online.de> # Contributor: Douglas Soares de Andrade <dsandrade@gmail.com> + pkgname=tora pkgver=2.1.3 -pkgrel=2 +pkgrel=3 pkgdesc="Toolkit for databases with support for MySQL and PostgreSQL" arch=('i686' 'x86_64') url="http://tora.sourceforge.net" @@ -13,15 +14,20 @@ license=('GPL') depends=('qscintilla') makedepends=('cmake') options=('!libtool' '!emptydirs') -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=('ea4a75a9daeaf58492413e3f7fe40293') build() { - cd $srcdir/$pkgname-$pkgver - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/ + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release make } + package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install } |