diff options
author | Michel Zou | 2018-05-30 20:39:15 +0200 |
---|---|---|
committer | Michel Zou | 2018-05-30 20:39:15 +0200 |
commit | f5768f641e2bc1441cd2e576da9ac3ca79eebf95 (patch) | |
tree | 5b8fbeaa98bc6c28f6330cfc6d7642a42ffe57f3 | |
parent | 067c8d6eb530891c836b72701ace7242db938256 (diff) | |
download | aur-f5768f641e2bc1441cd2e576da9ac3ca79eebf95.tar.gz |
7.1
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | openmesh.install | 11 |
3 files changed, 24 insertions, 35 deletions
@@ -1,22 +1,23 @@ +# Generated by mksrcinfo v8 +# Wed May 30 18:39:15 UTC 2018 pkgbase = openmesh pkgdesc = A generic and efficient data structure for representing and manipulating polygonal meshes - pkgver = 7.0 - pkgrel = 2 + pkgver = 7.1 + pkgrel = 1 url = http://www.openmesh.org - install = openmesh.install arch = i686 arch = x86_64 - license = BSD-3 + license = BSD makedepends = cmake makedepends = qt4 makedepends = graphviz makedepends = doxygen depends = mesa - optdepends = qt4: for using included applications - source = openmesh-7.0.tar.bz2::http://www.openmesh.org/media/Releases/7.0/OpenMesh-7.0.tar.bz2 + optdepends = qt5-base: for using included applications + source = openmesh-7.1.tar.bz2::http://www.openmesh.org/media/Releases/7.1/OpenMesh-7.1.tar.bz2 source = doc-install.patch - md5sums = 88addd1d2530bf2c957cbba95e69fe4e - md5sums = d6088c06f07398b44fb6660a0f04809a + sha256sums = 71cd5eb25893b0369ac766bb8305a525ffbb39b7f796d2878c7f9b8e0827cbac + sha256sums = 0ca0b0c4092d425615273e0e4ef57b91523b73d8c2bea6df96bc099f8596cb45 pkgname = openmesh @@ -4,19 +4,18 @@ _build_doc=ON _build_apps=ON pkgname=openmesh -pkgver=7.0 -pkgrel=2 +pkgver=7.1 +pkgrel=1 pkgdesc="A generic and efficient data structure for representing and manipulating polygonal meshes" arch=('i686' 'x86_64') url="http://www.openmesh.org" -license=('BSD-3') +license=('BSD') depends=('mesa') -optdepends=('qt4: for using included applications' ) -install=openmesh.install +optdepends=('qt5-base: for using included applications') source=("${pkgname}-${pkgver}.tar.bz2::http://www.openmesh.org/media/Releases/${pkgver}/OpenMesh-${pkgver}.tar.bz2" doc-install.patch) -md5sums=('88addd1d2530bf2c957cbba95e69fe4e' - 'd6088c06f07398b44fb6660a0f04809a') +sha256sums=('71cd5eb25893b0369ac766bb8305a525ffbb39b7f796d2878c7f9b8e0827cbac' + '0ca0b0c4092d425615273e0e4ef57b91523b73d8c2bea6df96bc099f8596cb45') if [[ "${_build_doc}" == "ON" && "${_build_apps}" == "ON" ]]; then makedepends=('cmake' 'qt4' 'graphviz' 'doxygen') @@ -29,21 +28,21 @@ else fi prepare() { + cd "${srcdir}/OpenMesh-${pkgver}" if [[ "${_build_doc}" == "ON" ]]; then - patch -Np0 -i doc-install.patch + patch -Np1 -i "${srcdir}"/doc-install.patch fi } build() { - rm -rf build - mkdir -p build - cd build - #cd "${srcdir}/OpenMesh-${pkgver}" - cmake ../OpenMesh-${pkgver} \ + cd "${srcdir}/OpenMesh-${pkgver}" + mkdir -p build && cd build + cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_APPS=${_build_apps} \ - -DOPENMESH_PYTHON_VERSION=3.6 + -DOPENMESH_PYTHON_VERSION=3.6 \ + .. make if [[ "${_build_doc}" == "ON" ]]; then @@ -52,11 +51,11 @@ build() { } package() { - cd build + cd "${srcdir}"/OpenMesh-${pkgver}/build make DESTDIR="${pkgdir}" install # install licenses mkdir -p "${pkgdir}"/usr/share/licenses/openmesh/ - install -D -m644 ../OpenMesh-${pkgver}/LICENSE \ + install -D -m644 ../LICENSE \ "${pkgdir}"/usr/share/licenses/openmesh/ } diff --git a/openmesh.install b/openmesh.install deleted file mode 100644 index 42b1fa84939f..000000000000 --- a/openmesh.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - /sbin/ldconfig -r / -} - -post_upgrade() { - /sbin/ldconfig -r / -} - -post_remove() { - /sbin/ldconfig -r / -} |