summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 16afa6467db49681f91e07fa34ab2ce21a116738 (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
# Maintainer: Philipp Wolfer <ph.wolfer@gmail.com>

pkgname=gimp-webp
pkgver=0.2
pkgrel=1
pkgdesc="This plugin provides Gimp with the ability to load and export WebP images."
arch=('i686' 'x86_64')
url="https://github.com/nathan-osman/gimp-webp"
license=('GPL3')
groups=(gimp-plugins)
depends=(gimp libwebp)
makedepends=(cmake)
conflicts=(gimp-plugin-webp)
source=(https://github.com/nathan-osman/$pkgname/archive/$pkgver.tar.gz)
sha1sums=('d0b0d6bbf9004a043ea10ac1fd84bd2783d190b6')

build() {
    mkdir -p "$srcdir/$pkgname-$pkgver/build"
    cd "$srcdir/$pkgname-$pkgver/build"
    cmake ..
    make
}

package() {
    cd "$srcdir/$pkgname-$pkgver/build"
    make DESTDIR="$pkgdir" install
}