blob: fdb0882a28f80044e59102f513007944e4f9e0fb (
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
|
# 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=('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"
}
|