diff --git a/lib3ds/.SRCINFO b/lib3ds/.SRCINFO new file mode 100644 index 0000000..00950a4 --- /dev/null +++ b/lib3ds/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = lib3ds + pkgdesc = A library for managing 3D-Studio Release 3 and 4 .3DS files and a free alternative to Autodesk's 3DS File Toolkit. + pkgver = 1.3.0 + pkgrel = 1 + url = https://code.google.com/archive/p/lib3ds/ + arch = i686 + arch = x86_64 + license = LGPL + depends = sh + source = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/lib3ds/lib3ds-1.3.0.zip + sha256sums = f5b00c302955a67fa5fb1f2d3f2583767cdc61fdbc6fd843c0c7c9d95c5629e3 + +pkgname = lib3ds + diff --git a/lib3ds/.gitrepo b/lib3ds/.gitrepo new file mode 100644 index 0000000..ce6db13 --- /dev/null +++ b/lib3ds/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/lib3ds + branch = master + commit = a531eddb1771d1318e429ec516a3f4f116dc6d91 + parent = 16a6cf87d82709cb0591124a8ce2526949a663b9 + method = merge + cmdver = 0.4.1 diff --git a/lib3ds/PKGBUILD b/lib3ds/PKGBUILD new file mode 100644 index 0000000..9860f00 --- /dev/null +++ b/lib3ds/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Thomas Ascher +# Contributor: Thomas Ascher +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 +}