Skip to content

Instantly share code, notes, and snippets.

@Rahix
Last active Sep 8, 2021
Embed
What would you like to do?
gimp-plugin-vtf PKGBUILD
pkgname=gimp-plugin-vtf
pkgver=1.0+1+g76c40be
pkgrel=1
pkgdesc="VTF GIMP plugin"
url="https://github.com/linux-source-tools/gimp-plugin-vtf"
arch=(x86_64)
license=(unknown)
depends=(gimp)
makedepends=(cmake)
_commit=e351d8eafb7e7af3193d750ef61783e02ad61a8b
source=("git+https://github.com/linux-source-tools/gimp-plugin-vtf.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/-/+/g'
}
build() {
cd "$pkgname"
make
}
package() {
cd "$pkgname"
mkdir -p "${pkgdir}/usr/lib/gimp/2.0/plug-ins/"
cp file-vtf "${pkgdir}/usr/lib/gimp/2.0/plug-ins/file-vtf"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment