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 | |
parent | 559f8739357af66f22f2259e84b21c76b3a66205 (diff) |
Sun Nov 13 23:14:59 UTC 2011
Diffstat (limited to 'community/tora')
-rw-r--r-- | community/tora/PKGBUILD | 20 | ||||
-rw-r--r-- | community/tora/tora.install | 3 |
2 files changed, 14 insertions, 9 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 } diff --git a/community/tora/tora.install b/community/tora/tora.install index 260f3960f..161b21e2b 100644 --- a/community/tora/tora.install +++ b/community/tora/tora.install @@ -1,5 +1,5 @@ # Thanks to: Serge Gielkens (Teld) for this bugfix -infodir=/usr/share/info +infodir=usr/share/info filelist=(tora.info) post_install() { @@ -17,4 +17,3 @@ pre_remove() { install-info --delete $infodir/$file $infodir/dir 2> /dev/null done } - |