blob: 05d9fbe1653d88dd496a9d757831132bb7aabd29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: HurricanePootis <hurricanepootis@protonmail.com>
pkgname=libvtflib-git
pkgver=1.0.r1.a501ba5
pkgrel=1
pkgdesc="Library to handle Valve's Texture Format"
arch=('any')
url="https://github.com/panzi/VTFLib"
license=('GPL')
depends=('libtxc_dxtn')
makedepends=("git")
makedepends=('cmake')
source=("git+https://github.com/panzi/VTFLib.git")
md5sums=('SKIP')
build() {
cd VTFLib
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr"
make -j`nproc`
}
package() {
cd "$srcdir/VTFLib"
make install DESTDIR="$pkgdir"
}
|