blob: 87e198c54f10c1fc1a3e67bdbf0af3757f478d2e (
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: Matrix <thysupremematrix atttttttttt tuta dottttttt io>
_pkgname=batcher
pkgname=gimp-plugin-batcher-git
pkgver=1.1.1.r2.g30124d9
pkgrel=1
epoch=1
pkgdesc="Batch image processing plug-in for GIMP 3"
arch=(any)
url='https://kamilburda.github.io/batcher/'
license=('BSD-3-Clause')
depends=('gimp>=3' python)
makedepends=('git')
source=("git+https://github.com/kamilburda/batcher.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package (){
cd "$srcdir/$_pkgname"
for i in *.md; do
install -Dm644 $i "$pkgdir/usr/share/doc/$pkgname/$i"
done
cp -R docs "$pkgdir/usr/share/doc/$pkgname/"
install -dm744 "$pkgdir/usr/lib/gimp/3.0/plug-ins/"
cp -R batcher "$pkgdir/usr/lib/gimp/3.0/plug-ins/batcher"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|