1 # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
2 # Contributor: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
3 # Contributor: Jonathan Frawley <jonathanfrawley@gmail.com>
8 pkgdesc='Command line tools for use with the open XCF image format (includes xcf2png)'
10 url='http://henning.makholm.net/software'
14 source=("http://henning.makholm.net/xcftools/xcftools-$pkgver.tar.gz"
16 fs70042.patch::https://github.com/j-jorge/xcftools/commit/59c38e3e45b9112c2bcb4392bccf56e297854f8a.patch)
17 sha256sums=('1ebf6d8405348600bc551712d9e4f7c33cc83e416804709f68d0700afde920a6'
18 'fc70dbef790bc708b1609c4393a08e565f0617e697c735078e3368048dd33a4d'
19 'c3c6c3af9f4e47c0fc887543e6fae3e7c572bc4d4f627f40a02cbd8620dca3ae')
22 grep -A16 License "$pkgname-$pkgver/README" > LICENSE
24 patch -i "$srcdir/xcftools.patch"
25 patch -i "$srcdir/fs70042.patch"
30 ./configure --prefix=/usr
35 make DESTDIR="$pkgdir" -C $pkgname-$pkgver install
36 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"