diff options
author | jmf | 2015-09-06 01:25:33 +0200 |
---|---|---|
committer | jmf | 2015-09-06 01:25:33 +0200 |
commit | 44a9f4c98a5a2ff522a307e73447544707559319 (patch) | |
tree | 47817830b120e214b38fda869dd20633a202f961 | |
parent | 960dc4dc885549322aff8505504d13216608c6ec (diff) | |
download | aur-44a9f4c98a5a2ff522a307e73447544707559319.tar.gz |
Fixing compiling, changing the PKGBUILD to move the right files to the pkgdir
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 5 insertions, 5 deletions
@@ -12,6 +12,7 @@ pkgbase = openscenegraph-git depends = xine-lib depends = curl provides = openscenegraph-git + provides = openscenegraph conflicts = openscenegraph conflicts = openscenegraph-svn source = git://github.com/openscenegraph/osg.git @@ -7,25 +7,24 @@ pkgdesc="An open source, high performance real-time graphics toolkit - git mirro arch=('i686' 'x86_64') url="http://www.openscenegraph.org/" license=('GPL') -groups=() depends=('giflib' 'jasper' 'librsvg' 'xine-lib' 'curl') makedepends=() -provides=('openscenegraph-git') +provides=('openscenegraph-git' 'openscenegraph') conflicts=('openscenegraph' 'openscenegraph-svn') source=(git://github.com/openscenegraph/osg.git) md5sums=('SKIP') build() { - mkdir ${srcdir}/${_gitname}-build/ + mkdir ${srcdir}/${_gitname}-build/ cd "${srcdir}/${_gitname}-build/" cmake ../${_gitname} -DCMAKE_INSTALL_PREFIX=/usr -DLIBRARY_OUTPUT_PATH=/usr/lib -DCMAKE_BUILD_TYPE=Release make || return 1 } package(){ - cd "${srcdir}/${_gitname}" + cd "${srcdir}/${_gitname}-build" make DESTDIR="${pkgdir}/" install - install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 "${srcdir}/${_gitname}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib" } |