Skip to content

Instantly share code, notes, and snippets.

@Rahix
Last active September 8, 2021 19:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rahix/a297457945ab236551c9ffbe5f6b9052 to your computer and use it in GitHub Desktop.
Save Rahix/a297457945ab236551c9ffbe5f6b9052 to your computer and use it in GitHub Desktop.
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