Skip to content

Commit

Permalink
archrelease: copy trunk to staging-x86_64
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@315835 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
svenstaro committed Feb 4, 2018
1 parent 3702083 commit 1a6e4a8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions assimp/repos/staging-x86_64/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Maintainer: Sven-Hendrik Haase <[email protected]>
# Contributor: jepaan <jepaan at hotmail dot com>

pkgname=assimp
pkgver=4.1.0
pkgrel=1
pkgdesc="Library to import various well-known 3D model formats in an uniform manner"
arch=('x86_64')
license=('BSD')
depends=('zlib' 'gcc-libs' 'boost-libs')
makedepends=('cmake' 'boost')
url='http://assimp.sourceforge.net/index.html'
source=("$pkgname-$pkgver.tar.gz::https://github.com/assimp/assimp/archive/v${pkgver}.tar.gz")
md5sums=('83b53a10c38d964bd1e69da0606e2727')

build() {
cd ${srcdir}/${pkgname}-${pkgver}

mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DASSIMP_BUILD_SAMPLES=OFF
make
}

package() {
cd ${srcdir}/${pkgname}-${pkgver}/build

make DESTDIR=$pkgdir install
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}

0 comments on commit 1a6e4a8

Please sign in to comment.