[arch-commits] Commit in liborigin2/repos/extra-x86_64 (PKGBUILD)
Ronald van Haren
ronald at archlinux.org
Tue May 19 09:46:27 UTC 2009
Date: Tuesday, May 19, 2009 @ 05:46:26
Author: ronald
Revision: 39654
fix renamed PKGBUILD
Modified:
liborigin2/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++----------
1 file changed, 29 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-05-19 08:03:46 UTC (rev 39653)
+++ PKGBUILD 2009-05-19 09:46:26 UTC (rev 39654)
@@ -2,21 +2,40 @@
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: damir <damir at archlinux.org>
-pkgname=liborigin
-pkgver=20080225
+pkgname=liborigin2
+pkgver=20090326
pkgrel=1
pkgdesc="A library for reading OriginLab OPJ project files"
-url="http://sourceforge.net/projects/liborigin/";
+url="http://soft.proindependent.com/liborigin2/";
+source=("http://downloads.sourceforge.net/sourceforge/liborigin/${pkgname}-${pkgver}.tar.gz")
+license=("GPL3")
arch=("i686" 'x86_64')
depends=('gcc-libs')
-license=("GPL")
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('5b7c6f22173a9d97c4f0dbec8671ac83')
+makedepends=('qt' 'boost' 'doxygen')
+replaces=('liborigin')
+provides=('liborigin')
+md5sums=('7cf833d5b7647f6dbd87128459931b4f')
build() {
- cd $srcdir/${pkgname}-${pkgver}
- cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ # fix build issue
+ sed -i 's|lboost_thread|lboost_thread-mt|' liborigin.pro
+
+ qmake
make || return 1
- make DESTDIR=$pkgdir install
+
+ # create documentation
+ cd doc
+ doxygen
+
+ # install manually...nothing to automate it there :(
+ install -Dm644 ../liborigin2.so.1.0.0 \
+ ${pkgdir}/usr/lib/liborigin2.so.1.0.0
+ install -d ${pkgdir}/usr/share/doc/${pkgname}
+ cp -rf html/* ${pkgdir}/usr/share/doc/${pkgname}
+ cd ${pkgdir}/usr/lib
+ ln -s liborigin2.so.1.0.0 liborigin2.so
+ ln -s liborigin2.so.1.0.0 liborigin2.so.1
+ ln -s liborigin2.so.1.0.0 liborigin2.so.1.0
}
-
More information about the arch-commits
mailing list