Last active
January 10, 2018 20:19
-
-
Save Rahix/72f13d5d7f534e35a3006a846651221d to your computer and use it in GitHub Desktop.
gdk-pixbuf-vtf PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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