blob: 74fb9eef9efb33c5975cfd02b322b4a6a0f00092 (
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
32
33
|
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: Lara Maia <lara@craft.net.br>
_pkgname=bimp
pkgname=gimp-plugin-bimp
pkgver=2.6
pkgrel=3
pkgdesc='Batch Image Manipulation Plugin for GIMP'
arch=('x86_64' 'i686')
url='http://www.alessandrofrancesconi.it/projects/bimp/'
license=('GPL')
depends=('gimp')
source=(${_pkgname}-${pkgver}.tar.gz::https://github.com/alessandrofrancesconi/${pkgname}/archive/v$pkgver.tar.gz)
md5sums=('e88c978abde481d2124ba9d73a56e14b')
build() {
cd $pkgname-$pkgver
# Change incompatible-pointer-type back to warning instead of error (default GCC 14)
# https://github.com/alessandrofrancesconi/gimp-plugin-bimp/issues/411
# Alternative: adding -fpermissive
# https://github.com/alessandrofrancesconi/gimp-plugin-bimp/pull/412
CFLAGS+=' -Wno-error=incompatible-pointer-types'
make
}
package() {
cd $pkgname-$pkgver
mkdir -p "$pkgdir"/usr/lib/gimp/2.0/plug-ins/
cp ./bin/bimp "$pkgdir"/usr/lib/gimp/2.0/plug-ins/
cp -Rf ./bimp-locale/ "$pkgdir"/usr/lib/gimp/2.0/plug-ins/
}
|