Skip to content

Instantly share code, notes, and snippets.

@Rahix
Last active Jan 10, 2018
Embed
What would you like to do?
gdk-pixbuf-vtf PKGBUILD
pkgname=gdk-pixbuf-vtf
pkgver=2.1
pkgrel=1
pkgdesc="VTF GDK Pixbuf Loader library"
url="https://github.com/linux-source-tools/gdk-pixbuf-vtf"
arch=(x86_64)
license=(unknown)
depends=(gdk-pixbuf2)
makedepends=(cmake)
_commit=7fb2f837bd54af9296f43573877895d7e90b95fe
source=("git+https://github.com/linux-source-tools/gdk-pixbuf-vtf.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
build() {
cd "$pkgname"
mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX:STRING=/usr ..
make pixbufloader-vtf
}
package() {
cd "$pkgname"/build
make DESTDIR="$pkgdir/" install/fast
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment