diff options
author | Mikhail Bulash | 2016-06-29 16:28:31 +0300 |
---|---|---|
committer | Mikhail Bulash | 2016-06-29 16:28:31 +0300 |
commit | 6fd7354895f8ea2b4414f3c5e60361318f3b8c90 (patch) | |
tree | c45f9aca8d60cba8a355885c3a7152dbd8cd792f | |
download | aur-6fd7354895f8ea2b4414f3c5e60361318f3b8c90.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rwxr-xr-x | PKGBUILD | 32 |
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6f656c7469c0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = nvidia-texture-tools-git + pkgdesc = Texture processing tools with support for Direct3D 10 and 11 formats + pkgver = 2.0.8.e965a66 + pkgrel = 1 + url = https://github.com/castano/nvidia-texture-tools + arch = i686 + arch = x86_64 + license = MIT + makedepends = cmake + depends = libpng + depends = libjpeg + depends = libtiff + depends = openexr + provides = nvidia-texture-tools + conflicts = nvidia-texture-tools + source = git+https://github.com/castano/nvidia-texture-tools.git + md5sums = SKIP + +pkgname = nvidia-texture-tools-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..0a2223f3641d --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.tar.gz +*.tar.xz +src/ +pkg/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..a644f335049e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Mike Roll <scaryspiderpig@gmail.com> + +_pkgname=nvidia-texture-tools +pkgname="${_pkgname}-git" +pkgver=2.0.8.e965a66 +pkgrel=1 +pkgdesc="Texture processing tools with support for Direct3D 10 and 11 formats" +arch=('i686' 'x86_64') +url="https://github.com/castano/nvidia-texture-tools" +license=('MIT') +depends=('libpng' 'libjpeg' 'libtiff' 'openexr') +conflicts=("${_pkgname}") +provides=("${_pkgname}") +makedepends=('cmake') +source=(git+https://github.com/castano/nvidia-texture-tools.git) +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_pkgname}" + echo "$(git tag | tail -1).$(git rev-parse --short HEAD)" +} + +build() { + cd "${srcdir}/${_pkgname}" + ./configure --prefix=/usr --release + make +} + +package() { + cd ${srcdir}/${_pkgname} + make DESTDIR=${pkgdir} install +} |