summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 074a175a7448df14afd54888812d329b26e77343 (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
# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
# Maintainer: dracorp aka Piotr Rogoza <piotr.r.public at gmail.com>
# Contributor: Kevin Brubeck Unhammer <unhammer@fsfe.org>
# Contributor: speps

pkgname=gimp-plugin-toy
pkgver=1.0.4
pkgrel=3
pkgdesc="GIMP plug-in that creates a toy effect or tilt-shift miniature faking on a selected layer"
url="http://registry.gimp.org/node/25803"
arch=('i686' 'x86_64')
license=('custom:MIT')
depends=('gimp')
source=("https://github.com/pixlsus/registry.gimp.org_static/raw/master/registry.gimp.org/files/${pkgname}-${pkgver}.tar.gz")
md5sums=('a46f6dbfc79445870797a87c079128d2')

# prepare() {
#   cd "$srcdir/$pkgname-$pkgver"
# }

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make LDFLAGS="-lm $LDFLAGS"
}

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

  install -Dm644 COPYING \
    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}