Last active
September 8, 2021 19:41
-
-
Save Rahix/a297457945ab236551c9ffbe5f6b9052 to your computer and use it in GitHub Desktop.
gimp-plugin-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=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