summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0d1a890b33bc07255d664bc7649e8bf4e8dfa6d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: JonnyRobbie

pkgname=gegl-operation-negative-darkroom-git
pkgver=v1.0.r1.ge382508
pkgrel=1
pkgdesc="GEGL operation - Negative Darkroom"
arch=('any')
url="https://gitlab.com/JonnyRobbie/gimp-plugin-analog"
license=('GPLv3')
depends=('gegl')
makedepends=('gegl')
source=('git+https://gitlab.com/JonnyRobbie/gimp-plugin-analog.git')
md5sums=('SKIP')
_gitname="gimp-plugin-analog"

pkgver() {
  cd "$srcdir/$_gitname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/$_gitname"
  make
}

package() {
  cd "$srcdir/$_gitname"
  mkdir -p "$pkgdir/usr/lib/gegl-0.4/"
  install -Dm644 "bin/negative-darkroom.so" "$pkgdir/usr/lib/gegl-0.4"
}