diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ab6f6a0bc01e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Contributor: Tibor Bamhor <tiborb95 at gmail.com> + +pkgname=gimp-plugin-satequalizer +pkgver=0.9.2 +pkgrel=1 +pkgdesc="Saturation equalizer. 6-bands equalizer, brightness adjustment, auto white calibration and more." +url="http://code.google.com/p/satequalizer/" +license=('GPL-3') +arch=('i686' 'x86_64') +depends=(gimp) +#makedepends=() +source=() + + + +build() { + + #defining variables + work_dir=$srcdir/satequalizer/ + cd $srcdir + test -d satequalizer || mkdir satequalizer + cd $work_dir || exit 1 + + git clone --branch v${pkgver} https://github.com/tibor95/gimp-plugin-satequalizer.git . + + #to fix problem: undefined reference to symbol 'pow@@GLIBC_2.0' + export LDFLAGS="$LDFLAGS -lm" + + #compiling + gimptool-2.0 --build saturate.c || exit 1 + } + +package() { + #copying compiled binary into pkgdir to be packed + mkdir -p ${pkgdir}/usr/lib/gimp/2.0/plug-ins/ + install -m 755 ${srcdir}/satequalizer/saturate ${pkgdir}/usr/lib/gimp/2.0/plug-ins/ + + } + +sha1sums=() |