archpkgs/lib3ds/PKGBUILD
Gabriel Ebner b7f212f567 git subrepo clone https://aur.archlinux.org/lib3ds
subrepo:
  subdir:   "lib3ds"
  merged:   "a531edd"
upstream:
  origin:   "https://aur.archlinux.org/lib3ds"
  branch:   "master"
  commit:   "a531edd"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
2020-12-26 19:09:29 +01:00

24 lines
732 B
Bash

# Maintainer: Thomas Ascher <thomas.ascher@gmx.at>
# Contributor: Thomas Ascher <thomas.ascher@gmx.at>
pkgname=lib3ds
pkgrel=1
pkgver=1.3.0
pkgdesc="A library for managing 3D-Studio Release 3 and 4 .3DS files and a free alternative to Autodesk's 3DS File Toolkit."
arch=('i686' 'x86_64')
url="https://code.google.com/archive/p/$pkgname/"
license=('LGPL')
depends=('sh')
source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-$pkgver.zip")
sha256sums=('f5b00c302955a67fa5fb1f2d3f2583767cdc61fdbc6fd843c0c7c9d95c5629e3')
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr --enable-shared
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}