aboutsummaryrefslogtreecommitdiffstats
path: root/xcftools/PKGBUILD
blob: a31dfbbb275de533c3fcbf84c464fbe36310a095 (plain) (blame)
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
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
# Previous maintainer: Jonathan Frawley <jonathanfrawley@gmail.com>

pkgname=xcftools
pkgver=1.0.7
pkgrel=3
pkgdesc="Miscellaneous command line tools for use with the open XCF format used by The GIMP"
url="http://henning.makholm.net/software"
arch=('x86_64' 'i686')
license=('GPL2' 'perl')
depends=('libpng' 'perl')
optdepends=('gimp')
makedepends=('libpng')
source=("http://henning.makholm.net/xcftools/xcftools-${pkgver}.tar.gz"
        "xcftools.patch")
md5sums=('fd960b6470fb23520fc4b1ade6cf6e25'
         '7439f6a8369a12913243ded6c93d31e1')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    patch -i ../xcftools.patch
    ./configure --prefix=/usr
    make
}

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