diff options
author | Eric Engestrom | 2019-06-26 22:37:57 +0100 |
---|---|---|
committer | Eric Engestrom | 2019-06-26 22:41:50 +0100 |
commit | dd196ec6adff71ff1aafd73999a765189d4ef6f1 (patch) | |
tree | 8a5be638c9ea69541e3ac2b6197925e823d77526 | |
download | aur-dd196ec6adff71ff1aafd73999a765189d4ef6f1.tar.gz |
initial commit - v1.08
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 29 |
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c612c1f6958f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = basis-universal + pkgdesc = Basis Universal GPU Texture Codec + pkgver = 1.08 + pkgrel = 1 + url = https://github.com/BinomialLLC/basis_universal + arch = x86_64 + license = Apache + makedepends = cmake + makedepends = ninja + provides = basisu + source = https://github.com/BinomialLLC/basis_universal/archive/v1.08.tar.gz + sha256sums = 2f9b09fcb0598599d34a2cca3572a93062e16b6659de554a310a25c775fa3efd + +pkgname = basis-universal + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..464ea1267f04 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/*.tar.gz +/*.pkg.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ada440223ba5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch> + +pkgname=basis-universal +pkgver=1.08 +pkgrel=1 +pkgdesc="Basis Universal GPU Texture Codec" +arch=('x86_64') +url="https://github.com/BinomialLLC/basis_universal" +license=('Apache') +makedepends=('cmake' 'ninja') +source=("$url/archive/v$pkgver.tar.gz") +sha256sums=('2f9b09fcb0598599d34a2cca3572a93062e16b6659de554a310a25c775fa3efd') +provides=(basisu) + +prepare() { + cmake \ + -G Ninja \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + basis_universal-$pkgver +} + +build() { + ninja +} + +package() { + DESTDIR="$pkgdir" ninja install +} |