Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Michael Schubert <mschu.dev at gmail>
- # Contributor: Florian Richter <Florian_Richter@gmx.de>
- pkgname=pythonmagick
- pkgver=0.9.7
- pkgrel=1
- pkgdesc="Object-oriented Python bindings for the ImageMagick library"
- arch=('i686' 'x86_64')
- url="http://www.imagemagick.org/"
- license=('custom')
- depends=('boost' 'python' 'imagemagick' 'libstdc++5')
- makedepends=('perl' 'automake')
- options=('!libtool')
- source=("http://www.imagemagick.org/download/python/PythonMagick-$pkgver.tar.gz")
- md5sums=('c7d5cb4dd5701ca1e92d805a817f0a37')
- build() {
- cd "$srcdir/PythonMagick-$pkgver"
- sed -i 's:boost_python:$(BOOST_PYTHON_LIB):' Makefile.am
- sed -i 's:-l$(PYTHON_LIB):$(PYTHON_LIB):' Makefile.am
- ./autogen.pl
- CPPFLAGS="`python-config --includes`" \
- LIBS="`python-config --libs`" \
- ./configure --prefix=/usr --with-boost-python=boost_python3
- make || return 1
- make DESTDIR="$pkgdir" install
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/pythonmagick/LICENSE"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement