diff options
Diffstat (limited to 'community/metapixel/PKGBUILD')
-rw-r--r-- | community/metapixel/PKGBUILD | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/community/metapixel/PKGBUILD b/community/metapixel/PKGBUILD index 64d451ab4..6a9d0880b 100644 --- a/community/metapixel/PKGBUILD +++ b/community/metapixel/PKGBUILD @@ -1,35 +1,34 @@ -# $Id: PKGBUILD 94928 2013-08-01 07:01:23Z bpiotrowski $ +# $Id: PKGBUILD 106408 2014-03-02 18:09:48Z schuay $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Daniel Isenmann <daniel.isenmann [at] gmx [dot] de> pkgname=metapixel pkgver=1.0.2 -pkgrel=5 +pkgrel=6 pkgdesc='A program for generating photomosaics.' arch=('i686' 'x86_64') url='http://www.complang.tuwien.ac.at/schani/metapixel/' license=('GPL') -depends=('giflib' 'libjpeg' 'libpng' 'perl') -source=("http://www.complang.tuwien.ac.at/schani/metapixel/files/${pkgname}-${pkgver}.tar.gz" - 'metapixel-1.0.2-libpng-1.5.patch' - 'metapixel-1.0.2-giflib-5.0.patch') -md5sums=('af5d77d38826756af213a08e3ada9941' - '1832a79790b07402735bfeb9f71f36e9' - 'f16abb33c545734eea36ec16c92a05e8') +depends=('giflib' 'libjpeg' 'libpng' 'perl' 'glib2') +makedepends=('git' 'docbook-xsl') +source=("git://github.com/schani/metapixel.git#commit=4ad7be9e82") +md5sums=('SKIP') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}" - patch -p1 -i ../metapixel-1.0.2-libpng-1.5.patch - patch -p0 -i ../metapixel-1.0.2-giflib-5.0.patch + git submodule init + git submodule update - make + # Build librwimg first, make dependencies seem to be bugged. + make librwimg + make MANPAGE_XSL="/usr/share/xml/docbook/xsl-stylesheets-1.78.1/manpages/docbook.xsl" } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}" install -dm0755 "${pkgdir}/usr/share/man/man1" - make PREFIX="${pkgdir}/usr" install + make PREFIX="${pkgdir}/usr" MANDIR="${pkgdir}/usr/share/man/man1" install } |