[arch-commits] Commit in alembic/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Jan 16 00:54:19 UTC 2017


    Date: Monday, January 16, 2017 @ 00:54:18
  Author: svenstaro
Revision: 207539

upgpkg: alembic 1.7.0-2

Set proper install prefix

Modified:
  alembic/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-16 00:49:27 UTC (rev 207538)
+++ PKGBUILD	2017-01-16 00:54:18 UTC (rev 207539)
@@ -2,7 +2,7 @@
 
 pkgname=alembic
 pkgver=1.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A open framework for storing and sharing scene data"
 arch=('i686' 'x86_64')
 url="http://www.alembic.io/"
@@ -15,10 +15,11 @@
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
-	mkdir build && cd build
+  mkdir build && cd build
 
-	cmake .. \
-		-DUSE_HDF5=ON
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DUSE_HDF5=ON
 
   make
 }
@@ -26,9 +27,9 @@
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
-	install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+  install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 
-	cd build
+  cd build
   make DESTDIR="${pkgdir}/" install
 }
 



More information about the arch-commits mailing list